Mach Bands: Retinal Center-Surround Response at a Luminance Edge (2D)
The same difference-of-Gaussians retina model in 2D: the real luminance step, the perceived brightness strip with Mach bands, the receptive-field kernel and the response curve.
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.
The same difference-of-Gaussians retina model in 2D: the real luminance step, the perceived brightness strip with Mach bands, the receptive-field kernel and the response curve.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install