🔍 Lens Physics (2D): Exact Ray Tracing, Image Position, Aberration and Dispersion
2D companion of the lens physics simulator: exact meridional ray tracing through a thick spherical lens with spherical aberration, dispersion and three in-page numerical checks.
⚙ Under the hood
Side-view companion of the 3D lens physics simulator: exact ray fans through a thick spherical lens, real and virtual images, spherical aberration, glass dispersion and three numerical checks.
lensray opticsrefractionaberrationdispersion
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install