logoalt Hacker News

CSS Optical Illusions

176 pointsby ulrischayesterday at 5:41 PM14 commentsview on HN

Comments

myfonjyesterday at 8:14 PM

These "dots appearing only while (not) focused" are known as "extinction illusions", namely

    "25 - Appearing Dots"
is "McAnany's type" [1], and

    "26 - Disappearing Dots"
is known as "Ninio's type" [2], according Akiyoshi Kitaoka's materials. (I have recreated them too few years ago [3][4], before getting to the source.)

[1] https://www.psy.ritsumei.ac.jp/akitaoka/kieru3e.html#:~:text...

[2] https://www.psy.ritsumei.ac.jp/akitaoka/kieru3e.html#:~:text...

[3] https://codepen.io/myf/full/XjdmJy ( scintillation warning)

[4] https://codepen.io/myf/full/jMqoMW ( scintillation warning)

sandpaper26yesterday at 6:29 PM

This is cool, but more as a demonstration of interesting CSS techniques than optical illusions in my opinion.

Also, interestingly, I seem to be able to force myself to "see through" all of these illusions except for induced gradients, which I can't stop seeing unless I cover part of the screen.

brandon_bottoday at 1:42 AM

Cool!

I did something similar for my personal favorite illusion, the Ames window illusion. Recreated with CSS: https://brandondong.github.io/blog/ames_window/

nilslindemannyesterday at 6:36 PM

33 - color fan: There is another interesting optical illusion here: The fan seems to rotate faster when not directly looking at it.

aj7today at 5:26 AM

What would be most interesting is using optical illusions to help decode how brain visual processing is done.

layer8yesterday at 10:58 PM

Heh, I used to do these in Excel.

encomyesterday at 6:27 PM

These are all super dark, for some reason.

show 1 reply
moralestapiayesterday at 6:01 PM

Wow, this is great!

I want to put some of them in my UIs.

show 1 reply
eulgroyesterday at 11:57 PM

They could make capchas out of these.