Optical illusions
About this app
A card deck with five classic optical illusions (Adelson checkerboard, Müller-Lyer, Ebbinghaus, Café Wall, simultaneous contrast) — each card with a precisely constructed SVG illusion and an animated proof button that makes the illusion collapse. A didactic entry into computer vision: perception is construction.
Perception is construction
The eye only delivers raw signals; seeing happens in the brain. It does not measure but interprets every image using prior assumptions about light, depth and context. Optical illusions make these assumptions visible. In the Adelson checkerboard the brain discounts a shadow and sees two equally grey squares as different (lightness constancy). In the Müller-Lyer illusion the arrow ends are read as spatial corners. The Ebbinghaus illusion shows that size is judged relative to its surroundings. The same mechanisms are usually helpful in everyday life.
What the app shows
A card deck holds five classic illusions as precisely constructed graphics: Adelson checkerboard, Müller-Lyer, Ebbinghaus, café wall and simultaneous contrast. Each card briefly explains what you see and what is actually in the image. A proof button collapses the illusion in an animation, for example by lifting the compared areas out of their context. On each card you can also ask the AI tutor to explain the illusion.
What to look for
Look at each illusion first and make a guess before starting the proof. In the café wall illusion all mortar lines are exactly horizontal and parallel, yet they look tilted. In simultaneous contrast both squares have identical pixel values; only the background differs. There is a practical lesson: industrial machine vision uses controlled lighting and measures values instead of relying on impressions.
Frequently asked questions
- How does the Adelson checkerboard illusion work?
- Squares A and B have exactly the same grey value, but B lies in the shadow of a cylinder. The brain discounts the shadow to recover the surface colour and therefore sees B as lighter. This lightness constancy is useful in daily life but here leads to a wrong judgement of the pixel value.
- Why does one line look longer in the Müller-Lyer illusion?
- Both lines are the same length, but the fins point outwards on one and inwards on the other. The visual system reads them like the edges of near and far room corners. This depth interpretation distorts the length estimate.
- What is simultaneous contrast?
- Simultaneous contrast means the same colour or grey looks different depending on its surroundings. On a dark background a grey looks lighter, on a light background darker. The visual system judges brightness relative to the surroundings.
- Which illusions are in the app?
- Adelson checkerboard, Müller-Lyer, Ebbinghaus, café wall and simultaneous contrast. Each has a proof button and a button that lets the AI tutor explain the illusion.
Subject: Perception & Illusion
More from Perception & Illusion
- Adversarial examples
- Viewpoint illusions 3D
- Color constancy
- Mental rotation (Shepard & Metzler)
- Place cells & grid cells (3D)
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps