13 comments

  • myfonj15 days ago
    These &quot;dots appearing only while (not) focused&quot; are known as &quot;extinction illusions&quot;, namely<p><pre><code> &quot;25 - Appearing Dots&quot; </code></pre> is &quot;McAnany&#x27;s type&quot; [1], and<p><pre><code> &quot;26 - Disappearing Dots&quot; </code></pre> is known as &quot;Ninio&#x27;s type&quot; [2], according Akiyoshi Kitaoka&#x27;s materials. (I have recreated them too few years ago [3][4], before getting to the source.)<p>[1] <a href="https:&#x2F;&#x2F;www.psy.ritsumei.ac.jp&#x2F;akitaoka&#x2F;kieru3e.html#:~:text=McAnany%27s%20typeMcAnany" rel="nofollow">https:&#x2F;&#x2F;www.psy.ritsumei.ac.jp&#x2F;akitaoka&#x2F;kieru3e.html#:~:text...</a><p>[2] <a href="https:&#x2F;&#x2F;www.psy.ritsumei.ac.jp&#x2F;akitaoka&#x2F;kieru3e.html#:~:text=Ninio%27s%20type" rel="nofollow">https:&#x2F;&#x2F;www.psy.ritsumei.ac.jp&#x2F;akitaoka&#x2F;kieru3e.html#:~:text...</a><p>[3] <a href="https:&#x2F;&#x2F;codepen.io&#x2F;myf&#x2F;full&#x2F;XjdmJy" rel="nofollow">https:&#x2F;&#x2F;codepen.io&#x2F;myf&#x2F;full&#x2F;XjdmJy</a> ( scintillation warning)<p>[4] <a href="https:&#x2F;&#x2F;codepen.io&#x2F;myf&#x2F;full&#x2F;jMqoMW" rel="nofollow">https:&#x2F;&#x2F;codepen.io&#x2F;myf&#x2F;full&#x2F;jMqoMW</a> ( scintillation warning)
  • hinkley15 days ago
    I thought this was going to go the other way.<p>Worked on a project that wanted to make everything a different grayscale color. It was out of control already when someone one day complained that two pieces of text were a different color.<p>They weren’t. They were identical. But they were on two different background colors which make the optical illusion that they weren’t. And I reminded them for the twentieth time that we were using too goddamned much gray.
  • smusamashah15 days ago
    This coca cola illusion is my favourite one <a href="https:&#x2F;&#x2F;gagadget.com&#x2F;en&#x2F;446542-a-photo-of-a-coca-cola-can-that-looks-red-but-is-made-up-of-only-black-and-blue-pixels-is-being-shared-on-social-media-how-does-it-work&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gagadget.com&#x2F;en&#x2F;446542-a-photo-of-a-coca-cola-can-th...</a><p>Coca cola appears red when no red at all is used in whole image
    • flexagoon14 days ago
      This is a great illusion, though I often see that people try to explain this (and a similar image of strawberries) as &quot;our brain knows this object is supposed to be red so it fills in red&quot;, which is not what&#x27;s happening - it&#x27;s based on color contrast like many other optical illusions
    • mediumsmart14 days ago
      The background on the can is a very light red. I know from painting murals that a light color close up looks darker from some distance.
  • sandpaper2615 days ago
    This is cool, but more as a demonstration of interesting CSS techniques than optical illusions in my opinion.<p>Also, interestingly, I seem to be able to force myself to &quot;see through&quot; all of these illusions except for induced gradients, which I can&#x27;t stop seeing unless I cover part of the screen.
  • brandon_bot15 days ago
    Cool!<p>I did something similar for my personal favorite illusion, the Ames window illusion. Recreated with CSS: <a href="https:&#x2F;&#x2F;brandondong.github.io&#x2F;blog&#x2F;ames_window&#x2F;" rel="nofollow">https:&#x2F;&#x2F;brandondong.github.io&#x2F;blog&#x2F;ames_window&#x2F;</a>
  • nilslindemann15 days ago
    33 - color fan: There is another interesting optical illusion here: The fan seems to rotate faster when not directly looking at it.
  • andredurao14 days ago
    On #4 (White&#x27;s Illusion) it looks like for me that the gray bar that is surrounded by black is brighter than the one surrounded by white instead of darker :#
  • aj715 days ago
    What would be most interesting is using optical illusions to help decode how brain visual processing is done.
  • encom15 days ago
    These are all super dark, for some reason.
    • christophilus15 days ago
      You have to actually run them. Otherwise, they&#x27;re just a dark CodePen preview.
      • encom15 days ago
        Why the extra step of having to click each one? Only a few of them are interactive.
        • d-us-vb15 days ago
          Because codepens can run javascript. And if a page has 50 of them, it might make the page load time much longer. I know that all these examples are pure CSS, and maybe there is a setting in codepen to disable the &quot;Run&quot; button and automatically run it. Still, getting to decide is generally a better pattern than presuming that that&#x27;s what the user wants, especially when the fact that the code is inside a codepen makes it explicitly not an integral function of the page. &quot;I thought this was just a blog, and now you want me to run all this javascript??&quot; -- some JS hater, probably.<p>I appreciate getting to choose as much as possible when code runs.
          • zamadatix15 days ago
            Somewhat ironically, Codepen ended up introducing the JS execution requirement to view the content.
  • moralestapia15 days ago
    Wow, this is great!<p>I want to put some of them in my UIs.
    • herpdyderp15 days ago
      I&#x27;ve often run into these unintentionally messing up my UIs!
  • layer815 days ago
    Heh, I used to do these in Excel.
  • eulgro15 days ago
    They could make capchas out of these.
    • hiccuphippo14 days ago
      &quot;Please select the dancers spinning to the right&quot;