Incident rays Reflected rays Mirror surface

Light Reflection Lab: Law of Reflection on Flat & Curved Mirrors (2D)

This 2D companion replaces the original's decorative Three.js ray fan with a real ray-traced optics bench: a spherical mirror built from the exact circle equation, four independent controls (beam angle, mirror curvature, mirror tilt, ray count), and a live readout that measures — from the traced rays themselves, not a lookup table — the angle of incidence, the angle of reflection, the focal length and the spherical aberration spread, so the law of reflection and the concave/convex focusing behaviour of spherical mirrors are directly verifiable instead of implied.