This is a simple simulation showing the reflection and refraction of a ray of light as it attempts to move from one medium to another. Use the sliders to adjust the index of refraction of each of the two materials, as well as the angle of incidence (the angle between the incident ray of light and the normal to the surface). Use the check boxes to show or hide various information.