Refraction Through a Parallel Slab
Adjust refractive indices, incident angle, and slab thickness. See refraction, lateral shift, and total internal reflection.
Controls
Medium 1 (n₁)
1.00
Slab (n₂)
1.50
Incident angle θ₁ (°)
35°
Slab thickness
140 px
Snell’s law: n₁·sin(θ₁) = n₂·sin(θ₂). For a parallel slab, the exit ray is parallel to the incident ray but laterally shifted.
🔄 Rotate your device to
landscape
for the best experience