Plane refraction
To start the animation click anywhere on the canvas to position the raybox.
To run the interactive experiment click an angle to rotate the raybox and so change the angle of incidence of the light ray.
(Note: the animation may be used to calculate the refractive index of the glass)