Wave Interference Visualizer: See Superposition in Action

Adjust amplitude, frequency and phase of two waves and watch constructive and destructive interference in real time.

Andreas · April 15, 2026 · 3 min read
Wave Interference Visualizer: See Superposition in Action

Your physics textbook shows a static diagram of two waves overlapping and says "the resulting wave is the sum of the individual waves." It makes sense in theory, but you don't really feel it until you can drag a slider and watch constructive and destructive interference happen in front of you.

Two waves, one canvas

The wave interference visualizer draws two source waves and their superposition on the same SVG canvas. Each wave has independent controls for amplitude, frequency, and phase offset. You can pick the waveform shape too — sine, square, triangle, or sawtooth.

Set both waves to the same frequency and amplitude with zero phase difference, and the sum wave is exactly double the height. That's constructive interference. Now shift one wave by 180° and the sum drops to zero everywhere. That's destructive interference, and it's the principle behind noise-cancelling headphones.

Playing with parameters

The interesting stuff happens between those extremes. Set slightly different frequencies — say 3 Hz and 3.5 Hz — and you'll see beats: the sum wave pulses in and out of loudness. This is exactly what musicians hear when tuning two instruments that are almost but not quite at the same pitch.

Try a sine wave plus a square wave at the same frequency. The sum looks nothing like either source. This is the foundation of Fourier analysis — complex waveforms are built from simpler components.

The wave visualizer makes all of these relationships immediately visible. Instead of memorizing that "when the phase difference is π, waves cancel," you drag the slider to π and watch it happen. The understanding sticks better.

If your physics problems involve electrical circuits rather than abstract waves, the Ohm's law calculator handles voltage, current, and resistance. Between the two tools, you can cover both the wave and circuit sides of introductory physics.

Related Tools

Comments