Applet shows a plane wavefront being reflected or refracted at a plane boundary. The secondary wave front is shown as it is formed. Left click changes the number of center's emitting secondary waves. Right click varies the width of the wavefront from small to large. Dragging changes the width of the wavefront continuously.