This application shows you how light travel through prisms. There is a laser beam on the middle.
Thare also four prisms of various shapes which can be moved by dragging, and rotated by scrolling the mouse.
When you put a prism on a path of the laser beam, the light will deflect or reflect by the edge of the prism.
All refraction rates are set to 1.3.