Home▸Medicine & Biophysics▸Eye Pupil Size Trade-off: Diffraction and Defocus Blur (2D)

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.

Medicine & Biophysics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Eye Pupil Size Trade-off: Diffraction and Defocus Blur (2D) ↗ Open standalone

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.

⚙ Under the hood

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.

PupilDiffractionDefocusAiry DiscVisual Acuity

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)