This interactive applet shows a wave's refraction (change in direction) by crossing the interface between two media, due to the different refractive indices or velocities on both sides of the interface. You can change the [b]angle of incidence[/b] (alpha1) by moving the point A1. And with sliders, you can change the [b]frequency[/b] of the wave and the [b]ratio[/b] between velocities (or wave lengths, or refractive indices). The angle of refraction (alpha2) is calculated using Snell's law.