Wave Interference Simulator
Explore how waves from two point sources create interference patterns, how thin films produce iridescent colors, and how slightly mismatched frequencies produce beats. All calculations run in your browser.
Controls
Results
Reference Guide
Wave Superposition
When two or more waves occupy the same region, their displacements add at every point. This is the principle of superposition and it is the foundation of all interference phenomena.
For two identical sources separated by distance d, the superposed field forms a stationary pattern of bright and dark regions called the interference pattern.
The intensity at any point depends on the phase relationship between the two arriving waves, which in turn depends on the path difference.
Constructive and Destructive Interference
Constructive interference occurs when the path difference is an integer multiple of the wavelength. The waves arrive in phase and their amplitudes add:
Destructive interference occurs when the path difference is a half-integer multiple of the wavelength. The waves arrive exactly out of phase and cancel:
The resulting intensity follows , so it peaks at for constructive and reaches zero for destructive.
Path Difference and Fringe Location
For two coherent point sources separated by d, a distant screen at distance L shows bright fringes at positions where:
The path difference from any point P to the two sources is:
The coloured map in the simulator shades each pixel by the intensity computed from this exact path difference, revealing hyperbolic nodal lines and bright antinodal lines radiating from the midpoint.
Beats and Thin-Film Interference
Beats arise when two waves with slightly different frequencies overlap. The combined amplitude swells and fades at the beat frequency:
Thin-film interference occurs because light partially reflects at the top and bottom surfaces of a thin transparent layer. The two reflected rays interfere. For a film in air (one phase inversion), constructive interference requires:
Here is the refractive index and is the film thickness. Different wavelengths satisfy the condition at different thicknesses, producing the rainbow colors seen in soap bubbles and oil slicks.