Home▸Perception & Optical Illusions▸Mach Bands: Lateral Inhibition, Difference-of-Gaussians and the Edge Illusion

Mach Bands: Lateral Inhibition, Difference-of-Gaussians and the Edge Illusion

A luminance edge lies on a wall and a row of retinal cells with center-surround receptive fields responds to it. Change the center and surround widths, surround strength, edge contrast and ramp width to see the bright and dark Mach bands appear at the edge, with closed-form band positions and built-in numerical checks. Blender-built eye, wall and cells.

Perception & Optical Illusions3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Mach Bands: Lateral Inhibition, Difference-of-Gaussians and the Edge Illusion ↗ Open standalone

A luminance edge lies on a wall and a row of retinal cells with center-surround receptive fields responds to it. Change the center and surround widths, surround strength, edge contrast and ramp width to see the bright and dark Mach bands appear at the edge, with closed-form band positions and built-in numerical checks. Blender-built eye, wall and cells.

⚙ Under the hood

A luminance edge lies on a wall and a row of retinal cells with center-surround receptive fields responds to it. Change the center and surround widths, surround strength, edge contrast and ramp width to see the bright and dark Mach bands appear at the edge, with closed-form band positions and built-in numerical checks. Blender-built eye, wall and cells.

Mach BandsLateral InhibitionDifference of GaussiansReceptive FieldVisual Perception

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)