House of Illusions

Three small tricks of perception. Each one is a few dozen lines of canvas or CSS.

Which way is she spinning?

Watch the dancer for a while and she may reverse direction. Nothing changes on screen: an orthographic point cloud carries no depth, so your brain picks a direction and can switch its mind. Turn on the depth cue to settle it.

Same or different?

Two gray squares on a gradient. Decide whether they’re the same color, then see what happens to the background.

Drift generator

Nothing here moves, yet the rings creep when you look around them. Repeating steps of dark, mid-dark, light and mid-light trick motion detectors in your peripheral vision. Change the palette and density to make your own.