Refraction Simulation

Light Intermediate Free
Refraction Simulation – Light
Refraction Simulation – Light

Light bends when it crosses between media because its speed changes. This simulation lets you send a ray into glass, water or any refractive index you choose, and watch the refracted ray swing as you vary the angle of incidence.

How to use this simulation

What to look for

The physics behind it

Snell's law relates the angles either side of the boundary: n₁sinθ₁ = n₂sinθ₂. Going into a denser medium the ray bends towards the normal; coming out it bends away. Beyond the critical angle, given by sinθ_c = n₂/n₁, refraction becomes impossible and the light is totally internally reflected instead.

refractionSnell's lawopticswavelength