Beating shown graphically

Instructions: Move the slider to change the frequency of the blue wave. The purple wave shows the sum of the red and the blue waves.

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.