Presets
Playback
Parameters
Camera
Layers
Quality
Model check
The science
What is modelled
A reduced (thin-lens) model of the human eye in a cutaway: cornea, iris with a changing pupil, crystalline lens that thickens when you focus near, and the retina at a fixed axial length L. The candle on the bench is the object; three rays from its tip pass through the pupil (top, centre, bottom) and meet at the image point, which lands in front of, on, or behind the retina. One scene unit is 10 mm (the spectacles are drawn larger than life).
Equations
- Vergence form of the thin-lens equation, object in air, vitreous n' = 1.336:
n'/di = Vin + P, withVin = −1/do(metres). A spectacle lens of power Pg at vertex distance 13.5 mm changes the vergence reaching the eye toV2 = V1/(1 − dg V1), V1 = Vin + Pg. - Relaxed eye power
P0 = n'/L = 59.9 Dfor an emmetropic axis L = 22.3 mm. Axial length decides the refractive errorα = n'/L − P0: L = 23.8 mm gives −3.8 D (myopia), L = 21.2 mm gives +3.1 D (hyperopia). - Accommodation adds A to the power, up to
Amax = 18.5 − 0.3 · age(Hofstetter average). Near point:V = Amax − α; far point of a myopic eye:−α. - Retinal blur circle:
b = Dp |1 − L Vout/n'|(Dp pupil diameter, Vout = V2 + P0 + A). Diffraction: Airy radius1.22 λ/Dp(λ = 555 nm). Acuity (decimal) = 1/MAR withMAR = √(0.85² + βgeo² + βAiry²)arcmin, βgeo = b / 17 mm. - Spectacle lens that zeroes the defocus at infinity:
Pg = α/(1 + dg α), slightly stronger than the corneal error because of the vertex distance.
Checks run in the page
- Marginal-ray blur and image distance from a paraxial ray trace equal the closed forms.
- The near point found by bisection on the full vergence chain equals Amax − α (myopic eye).
- The spectacle power found by bisection equals α/(1 + dg α).
- The first zero of the Airy pattern (Bessel J1) gives the 1.22 coefficient.
Honest simplifications
A single thin refracting plane stands for cornea plus lens (paraxial optics only: no spherical aberration, astigmatism, chromatic aberration or Stiles-Crawford effect). The acuity formula is a smooth model with a fixed neural floor, not a clinical chart result; the blur disc on the retina is drawn 12 times larger than true size, objects farther than 31 cm are not drawn (their rays arrive as a near-parallel bundle), and the retina is drawn at the true axial length. Lens thickness changes are exaggerated.
What to try
- Choose the myopic eye and look at a distant object: the rays cross in front of the retina and acuity drops; add −4 D spectacles to fix it.
- Raise the age to 55 and bring the candle to 40 cm: accommodation runs out (graph 3) and reading glasses (+2 D) restore the focus.
- Close the pupil to 2 mm: the blur circle shrinks (pinhole effect, graph 2) until diffraction takes over.
- Use the Iris close-up camera to watch the pupil dilate.