Light refracts at a boundary between media. Adjust the media, angle, and wavelength to explore Snell's law. Enable dispersion to see white light split into its spectrum. Ch. 30.2–30.3
Drag the object distance through the focal point to watch the image transition from real/inverted to virtual/upright. Three principal rays are traced in real time. Ch. 30.4