Reflection

Interactive simulation — adjust parameters and watch the visualization update in real time.

How it works

Geometric reflection: angle of incidence equals angle of reflection (measured from the surface normal). Plane mirrors give a left–right reversed virtual image. Concave and convex spherical mirrors are drawn with paraxial principal rays and focal point F at half the radius of curvature.

Key equations

θᵢ = θᵣ   (specular reflection)
Spherical mirror: f = R / 2