Ray diagram for thin lenses and spherical mirrors. Compute image distance and magnification using the thin lens/mirror equation.
1/f = 1/do + 1/di solved for the unknown distance based on inputs.f automatically (positive for converging/concave).m = -di / do determines orientation (negative ⇒ inverted).hi = m · ho produces the scaled image height used in the diagram.Connect the algebraic thin lens equation with the visual ray diagram.
Slide the object inside the focal length to create a virtual image.
Sign errors are common; lean on the simulator’s automatic handling.
Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.
Visualizes geometric optics ray tracing for thin lenses and mirrors using standard sign conventions. Uses SI units and draws principal rays to show image formation.