Refraction through a prism

Click me to run applet

Refraction through a prism