Interactive STEM simulation
Wave Interference Simulator — 2D Interference Patterns
Simulate 2D wave interference online with up to 8 sources. View displacement, intensity, or phase maps in real time. Adjust frequency, wavelength, phase, and amplitude per source.
Community Feedback0 Comments
Share Your Experience
Wave Interference Simulator — 2D Interference Patterns
This wave interference simulator renders a real-time 2D wave field from up to eight draggable point sources using pixel-by-pixel superposition. Three visualization modes are available: displacement (red/blue), intensity (hot colormap), and phase (color wheel). Per-source frequency, wavelength, phase, and amplitude sliders let you build Young's double-slit, triple-source, and linear-array configurations or design your own. Playback speed ranges from 0.25x to 4x, and render quality is adjustable from Ultra to Low for performance.
What you can do in this simulation
- Add up to 8 draggable wave sources with individual frequency, wavelength, phase, and amplitude
- Switch visualization between Displacement, Intensity, and Phase maps
- Choose wave medium: Air (20°C), Water, Steel, or Custom
- Use presets: Single Source, Young's Double Slit, Triple Source, Linear Array
- Adjust render quality (1–8) and playback speed (0.25x–4x)
Concepts covered
wave interference · constructive and destructive interference · Young's double slit · wave phase · superposition principle · Huygens principle
How wave interference works
When two or more waves overlap, their displacements simply add — this is the superposition principle. Where crests meet crests (or troughs meet troughs) the waves reinforce into a larger wave: constructive interference. Where a crest meets a trough they cancel: destructive interference. Because two sources at fixed positions create a stable pattern of reinforcement and cancellation, you see fixed bright and dark bands rather than random noise.
The deciding factor is the path difference — how much farther one wave has travelled than the other to reach a given point. When that difference is a whole number of wavelengths the waves arrive in step and add; when it is a half-wavelength (or odd multiples of one) they arrive exactly out of step and cancel. This simulator computes that superposition pixel by pixel, so you can watch the interference pattern build in real time as you drag the sources.
Experiments to try in this simulation
1. Young's double slit: load the two-source preset. The field fills with evenly spaced bright and dark fringes — the classic experiment that first proved light behaves as a wave.
2. Change the spacing: drag the two sources farther apart and the fringes crowd closer together; move them nearer and the fringes spread out. Fringe spacing is inversely related to source separation.
3. Wavelength versus fringes: raise the wavelength (lower the frequency). The whole pattern stretches, because longer waves produce wider-spaced fringes.
4. Phase control: shift one source's phase by half a cycle. The bright and dark bands swap places, because you have flipped which path differences add and which cancel.
Key equations
For two sources a distance d apart, constructive interference (bright fringes) occurs where the path difference is a whole number of wavelengths: d·sin θ = mλ, with m = 0, 1, 2, … Destructive interference (dark fringes) falls halfway between, at d·sin θ = (m + ½)λ.
On a screen a distance L away, this places bright fringes at a spacing of about λL/d. That single relationship captures what you see when you drag the sources or change the wavelength: a wider separation d packs the fringes tighter, while a longer wavelength λ spreads them apart.
Real-world applications
Interference is everywhere once you look for it. It is why soap bubbles and oil films shimmer with colour (thin-film interference), how noise-cancelling headphones work (a wave engineered to destructively cancel unwanted sound), and how anti-reflective coatings on glasses and camera lenses suppress glare. Interferometers built on the same principle measure distance to a fraction of a wavelength — the LIGO detectors used exactly this to observe gravitational waves. Diffraction gratings, which split light by interference, are the heart of the spectrometers that reveal what distant stars are made of.
Related simulations
- JEE Electric Fields — Interactive Physics Practice
- Acoustics & Sound Waves — Interactive Simulator
- Angular Momentum Simulator: The Spinning Skater Effect
- Black Hole Simulator — Gravity & Spacetime
- Brachistochrone Curve Simulator - Fastest Ramp
- Buoyancy Simulator: Archimedes' Principle, Float or Sink?
Browse all Physics simulations →
Related reading
Free to use in your browser — no signup required. Found a bug or have an idea to make it better? Tell us.
Finished experimenting?
Save one completion to this browser's signed guest ledger, or directly to your account when signed in.