This applet shows two waves (red and blue) moving in and out of phase and their sum (white). The gray line represents an amplitude value of zero.