Class 10 Science · Light — Reflection & Refraction

Refraction, in 3D

A laser beam hits a glass slab and bends — toward the normal going in, away from it coming out — so it leaves parallel to how it arrived, but shifted sideways. Drag to orbit, pinch or scroll to zoom, and change the angle, the glass, and the slab thickness: every ray is recomputed from Snell's law, live.

i = 45° — the classic slab diagramBends toward the normal in glass, away from it in air
Tip: try i = 0° — straight through, no bending, no shift.

Set the angle of incidence

Four textbook angles first — then use the sliders to change the glass (n) and the slab thickness (t) and watch the bend and the sideways shift respond. Angles are measured from the normal, never from the surface.

0° · along the normal60° · steep
1.30 · light glass1.80 · dense flint
6 cm · thin14 cm · thick block

Live measurements — glass slab

Computed from Snell's law, never hand-placed: sin r = sin i ÷ n, and the lateral shift d = t · sin(i − r) ÷ cos r.

Angle of incidence i
45.0°
Angle of refraction r
28.1°
Lateral shift d
3.29 cm
Emergent angle
45.0°
What the ray does
Emergent ray ∥ incident ray — same direction, shifted 3.29 cm sideways
sin r = sin 45.0° / 1.50 → r = 28.1° · d = 10 × sin(45.0° − 28.1°) / cos 28.1° = 3.29 cm

What to notice: the ray bends toward the normal entering the glass (light slows down), travels straight inside, then bends away from the normal leaving — by exactly enough that the emergent ray is parallel to the incident ray. The dashed blue ray is where the beam would have gone with no slab: the gap between the two spots on the bench is the lateral shift, grown sideways inside the glass.

The four angles at a glance (n = 1.50, t = 10 cm)

The row for the current preset angle lights up when the sliders sit at n = 1.50 and t = 10 cm. Bigger i means a bigger bend — and a shift that grows faster than the angle does.

Incidence iRefraction rLateral shift dEmergent ray
0° — along the normal0.0°0.00 cmStraight through, unshifted
30°19.5°1.94 cmParallel to incident ray
45°28.1°3.29 cmParallel to incident ray
60°35.3°5.12 cmParallel to incident ray

Physics check: i = 45°, glass n = 1.5 gives sin r = sin 45° ÷ 1.5, so r = 28.1° — and with t = 10 cm the lateral shift d = t·sin(i − r) ÷ cos r = 3.29 cm. At i = 0° there is no bending at all: a ray along the normal crosses both faces undeviated, however thick the slab. At the second face the ray goes from denser to rarer medium and bends away from the normal by exactly the amount it bent toward it at the first face — which is why the emergent ray always comes out parallel to the incident ray, for any slab, any glass, any angle. In the exam you draw this as a 2D diagram — use the “Side (exam) view” button above to see exactly that angle in 3D.