Eye Refraction Lab: Myopia, Hyperopia & Accommodation
Interactive reduced-eye optics model: adjust axial length, ciliary-muscle accommodation and object distance to see how the eye focuses light on the retina, and how a corrective lens restores a sharp image in myopia or hyperopia.
This simulator models the human eye as the reduced optical system optometrists actually use to reason about refractive error: a single dioptric power sitting in front of a fixed-length vitreous chamber, with the retina as the target image plane. Drag the axial-length slider and watch a normal-length eye (emmetropia) stretch into a myopic one, or shrink into a hyperopic one, exactly as happens in real eyes. The accommodation slider reproduces what the ciliary muscle does when focusing on something close, the object-distance slider changes how strongly diverging the incoming light is, and the corrective-lens control shows how a spectacle prescription in diopters cancels the eye's own defocus. Every number on the readout panel — total power, defocus in diopters, and where the light bundle actually converges versus where the retina sits — comes from the same vergence equation (L′ = L + P) used in clinical optics.
An interactive reduced-eye optics model — adjust axial length, ciliary-muscle accommodation, object distance and a corrective lens to see how the eye focuses light on the retina, and how myopia and hyperopia arise and are corrected.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install