Re:Show HN: Website changes design each time you blink
by mcherm on Friday July 23, 2021 @07:46AM
(#27929614)
I would suggest "if we can see two eyes that are closed and there wasn't a change made within the past 5 seconds".
Re:Show HN: Website changes design each time you blink
by wellthisishn on Friday July 23, 2021 @01:46PM
(#27933552)
Why 5 seconds?
And if I keep my eyes closed longer, it seems to run through lots of different changes, and then do another change as soon as I open them. You can test this by only closing one eye - it seems to think you're blinking really rapidly.
I don't know exactly how it works, but it seems to act something like: "for each frame of video, if we can see an eye that is closed, change something on the page". I think it should change to "if we can see an eye that is closed and there wasn't a closed eye in the previous frame".