Sum of Two Sine Waves

Instructions: Move the slider to change the phase difference between the two waves. The purple wave shows the sum of the red and the blue waves.
Explanation: The phase difference between two waves affects how they add. If they are in-phase, the wave amplitude will double. If they are out of phase, they will cancel.

Link to stand-alone sim: Here is a link to view the sim on its own, with no distractions.

Stand alone sim

Embed code: Use this sim on a webpage. Copy the code block below, and include it anywhere on a webpage to show the sim.