Law of Reflection Simulator — Angle of Incidence & Reflection Interactive

Interactive ray-diagram laboratory demonstrating the law of reflection off a flat mirror, with adjustable incidence angle and mirror tilt, live angle readouts, and preset scenarios from grazing to steep incidence.

← Optics Labs
About this tool — how it works & FAQOpen ▾Close ▴

About the Law of Reflection Simulator

This simulator aims a light ray at a flat mirror and lets you sweep the angle of incidence and the mirror's own tilt. The incident ray, the surface normal and the reflected ray always lie in a single plane, with the incident and reflected angles measured from the normal always exactly equal.

What the simulator shows

• A live ray diagram with the mirror surface, a dashed surface normal, the incoming ray and the outgoing reflected ray, each angle marked with its own arc. • Two live controls: incidence angle (1°-89°) and mirror tilt (-40° to +40°), so you can confirm the law holds regardless of how the mirror itself is oriented. • Four preset scenarios spanning grazing incidence, a default 40° angle, steep incidence, and near-normal incidence. • Live numeric readouts for the angle of incidence, the angle of reflection, and their difference — which stays at exactly zero.

Why the two angles are always equal

The law of reflection, θᵢ = θᵣ, follows from Fermat's principle of least time: for a flat, smooth (specular) surface, the path light actually takes between two points is the one that takes the least time, and geometry shows that path is exactly the one where the angles from the normal match. This holds independent of wavelength, intensity, or the angle chosen — only surface roughness (producing diffuse rather than specular reflection) breaks the clean single-ray picture.

Measuring from the normal, not the surface

Optics conventionally measures incidence and reflection angles from the normal (the line perpendicular to the surface) rather than from the surface itself — this convention makes the law of reflection and Snell's law for refraction directly comparable, since both describe angles relative to the same reference line.

Frequently asked questions

What is the law of reflection?

The angle of incidence equals the angle of reflection, both measured from the surface normal, with the incident ray, reflected ray and normal all lying in the same plane. This simulator lets you confirm it holds at any incidence angle and any mirror tilt.

Why are angles measured from the normal instead of the mirror surface?

It is the standard optics convention, chosen because it keeps the law of reflection and Snell's law for refraction expressed the same way — both compare angles to the perpendicular at the point where light meets the surface.

Does tilting the mirror change the law of reflection?

No. Tilting the mirror rotates the normal along with it, but the incident and reflected angles measured from that (now-rotated) normal remain exactly equal — the law holds regardless of the mirror's orientation in space.

What does this simulator not model?

It models an ideal specular (mirror-like) flat surface only — it does not model diffuse reflection off rough surfaces, partial transmission through semi-transparent mirrors, or curved mirror surfaces (see the Concave & Convex Mirrors lab for curved-surface ray tracing).

Related tools & guides