Eye Pupil Size Trade-off: Diffraction and Defocus Blur (2D)
A ray diagram of the eye with the defocus blur and the diffraction blur on the retina, a live blurred eye chart and curves of blur and acuity against pupil size. Same shared model as the 3D scene.
Change the pupil diameter, the uncorrected focusing error and the wavelength of light, and see why there is a sharpest pupil size: a smaller pupil cuts defocus blur but spreads light by diffraction. A Blender-built eye with traced rays and a blurred eye chart, with Airy-disc and ray-trace checks built in.
A ray diagram of the eye with the defocus blur and the diffraction blur on the retina, a live blurred eye chart and curves of blur and acuity against pupil size. Same shared model as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install