HomeOptics & LightWave Diffraction Through a Slit – Huygens' Principle

🌊 Wave Diffraction Through a Slit – Huygens' Principle

Explore Huygens' construction: every wavefront point becomes a secondary source. Watch waves diffract through single and double slits, around obstacles, and interfere constructively or destructively. Adjust wavelength, slit width, and slit separation.

Optics & Light3DModerate60 FPS
huygens ↗ Open standalone

About this simulation

This simulation animates Huygens' construction directly: every point on a wavefront becomes a source of new spherical wavelets, and the next wavefront is simply their envelope. Four modes let you watch this idea build diffraction and interference from scratch — a plane wave with no barrier, a single slit, a double slit (Young's arrangement), and a circular obstacle blocking part of the wavefront. The brightness plotted at the right edge of the canvas is the coherent sum of every wavelet's amplitude, including the Huygens–Fresnel obliquity factor shown in the formula panel.

🔬 What it shows

Rings of secondary wavelets expand outward from the barrier (or slit openings) at wavelength λ, one new ring emitted every λ of travel. Where crests from different wavelets overlap in phase you get constructive interference; where a crest meets a trough you get cancellation. The intensity strip on the right edge sums these contributions using the obliquity factor (1+cosθ)/2, reproducing the sin θ = mλ/a single-slit minima and d sin θ = mλ double-slit maxima given in the formula box.

🎮 How to use

Switch between the four mode tabs — Plane Wave, Single Slit, Double Slit and Obstacle — then drag Wavelength λ, Slit width a and Slit sep. d to reshape the pattern; the stats bar recalculates a/λ, d/λ and the first minimum angle live. The Speed slider changes how fast wavelets travel, and Reset restarts the emission cycle from a blank canvas; Pause freezes the current wavefront for closer inspection.

💡 Did you know?

Huygens proposed this construction in his 1678 Traité de la Lumière, decades before anyone could explain why light bends into shadows. It was largely ignored in favour of Newton's corpuscular theory until Thomas Young's 1801 double-slit experiment — and later Fresnel's mathematical treatment — proved that light really does behave as overlapping wavelets, exactly as this simulation shows.

Frequently asked questions

What does the Obstacle mode actually show?

In Obstacle mode the barrier is fully open except for a solid disc at its centre, so secondary wavelets are emitted from every point along the wavefront except those blocked by the disc. Because the unobstructed wavelets curve inward from both sides, they overlap behind the obstacle and rebuild a wavefront in what would otherwise be a geometric shadow — the same mechanism responsible for the real Arago (Poisson) spot behind a small circular object.

How is the interference pattern on the right edge of the canvas calculated?

For every point along that edge, the simulation sums the contribution of every active secondary source using an obliquity-weighted amplitude of 1/√r and phase kr, exactly as written in the Huygens–Fresnel formula shown on the page. Squaring the resulting sum gives the local intensity, which is drawn as brightness — bright bands mark constructive interference, dark bands mark destructive interference.

How does the double-slit pattern differ from the single-slit pattern?

Single Slit mode places wavelet sources only across one gap of width a, producing a single broad diffraction envelope with minima at sin θ = mλ/a. Double Slit mode adds a second identical gap separated by distance d; the two sets of wavelets interfere with each other on top of each slit's own diffraction envelope, producing the finer bright/dark fringes of Young's experiment spaced according to d sin θ = mλ.

Why do the wavelet rings all expand at the same rate no matter which mode is selected?

Every secondary wavelet travels outward at the same wave speed v, set by the Speed slider — this is the core assumption of Huygens' principle, that the medium propagates all wavelets identically regardless of where they originated. Only the wavelength λ (ring spacing) and the position of the sources change between modes; the propagation speed itself never does.

Is Huygens' original construction physically exact?

Not quite on its own — the raw Huygens construction predicts wavelets travelling backward as well as forward and treats every direction equally. The obliquity factor (1+cosθ)/2 shown in the formula box, added later by Fresnel and put on a rigorous footing by Kirchhoff, suppresses the backward wave and weights forward emission correctly, which is what this simulation actually uses to draw the intensity pattern.

Frequently Asked Questions

How does Huygens' principle explain diffraction?

When a wave passes through an aperture, the edge blocks some secondary wavelets but allows those near the opening to propagate freely in all directions. The interference of these wavelets produces the characteristic diffraction pattern — bright and dark fringes — observed beyond the aperture.

What is the Huygens–Fresnel principle?

The Huygens–Fresnel principle extends Huygens' geometric construction by including the interference of secondary wavelets with their correct amplitudes and phases. The field at any observation point is the coherent sum (integral) of contributions from all points on the previous wavefront, weighted by an obliquity factor.

Does Huygens' principle apply to all types of waves?

Yes. Huygens' principle applies to any scalar wave (sound, light, water waves, seismic waves) and to vector electromagnetic waves. It is derived from the general wave equation and is valid regardless of the wave type, making it a universal tool for wave propagation analysis.

How do phased arrays use Huygens' principle?

A phased array consists of many individual antennas or transducers, each acting as a Huygens secondary source. By controlling the relative timing (phase) of each element's transmission, the secondary wavelets are made to constructively interfere in a chosen direction and destructively interfere elsewhere, steering the beam electronically with no moving parts.

Why is Huygens' principle only an approximation?

Huygens' original construction predicts waves propagating backward as well as forward, and does not correctly handle the amplitude variation with angle. Fresnel's correction (the obliquity factor) and Kirchhoff's rigorous derivation resolve these issues. Additionally, the principle assumes a scalar field and neglects polarisation effects in electromagnetic problems.

⚙ Under the hood

Explore how waves diffract through a slit using the Huygens principle, adjusting the wavelength and slit width to observe interference patterns and single-slit diffraction. You can modify the wavelength of the incident light and the width of the slit to see how this affects the resulting diffraction pattern.

Huygens PrincipleDiffractionInterference

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)