This applet show reflection and refraction in 3D to illustrate
incident ray/reflected ray and refracted ray all lie on the same plane.
The reflected angle is the same as incident angle.
The refracted angle is determined by Snell's law
The intensity for reflected wave and refracted wave were calculated for p-wave or s-wave.
The check box labeled "E" is used to toggle display of Electric field.
The electric field for p-wave and s-wave are perpendicular to each other.
At Browster angle (\theta=0.98 for default case), the p-wave dispappear. (Please DO try it !)
You can use mouse drag and drop to change the view point (viewing angle/rotate the 3D system).