Optiverse ray optics demo
Interactive 2D ray tracing with the Optiverse engine: a collimated beam passes through a thin lens and reflects off a flat mirror. Change the focal length, ray count and beam size and watch the rays converge, diverge and bounce back.