Two-Source Interference

Please update your browser!
Check here to have the sources 180 degrees out of phase

This simulation demonstrates interference of waves from two identical sources that are separated by a variable distance. The wave crests are shown in red and the troughs in blue, with black indicating a local wave amplitude of zero. (Note that the entire image updates instantly when you move the slider, because it is drawn using a formula that assumes fixed separation, rather than from a simulation of the time-dependent response of the wave medium. Note also that the wave amplitude does not decrease with the distance from the source, as it would for physical waves.)

This simulation is also intended to demonstrate pixel-by-pixel image creation for the HTML5 canvas element using the putImageData function.

Simulation modified by Andrew Duffy. First uploaded on 8-11-2017.

The counter has been running on this page since 8-14-2018. The number of people accessing the page since then is: