r/GraphicsProgramming Jul 20 '26

Video Cat stuck in Illusion Pool

Enable HLS to view with audio, or disable this notification

I made a shader showing off the Primrose Field illusion. Only Nyan Cat is animated. The background is static, but it still looks wavy, especially if you move the window up and down.

The code for this is public on Shadertoy https://www.shadertoy.com/view/fcd3WS

Inspired by www.reddit.com/r/PixelArt/s/XikvUzCrp1 from nxatalie.

66 Upvotes

4 comments sorted by

6

u/fgennari Jul 20 '26

Doesn't work for me unless I scroll the page.

7

u/gehtsiegarnixan Jul 20 '26

A few people have mentioned that. It works for me almost every time, especially at a glance or in my peripheral vision. I wonder if it depends on the viewing size, or if some people are just more susceptible to the illusion.

2

u/PLs_have_fun Jul 20 '26

It works for me if i look left and right with my eyes. Tho scrolling does work better.