---
title: "Huygens–Fresnel Propagation Lab Interactive Lab | Sandbox Physics"
description: "How does a diffraction pattern change from close to the aperture to far away? Gradually, with no sudden switch."
canonical_url: "https://sandboxphysics.com/labs/huygens-fresnel-propagation-lab/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/huygens-fresnel-propagation-lab/"
last_modified: "2026-10-27"
---

Optics 056 · Diffraction, Fourier optics, and computational imaging

# Huygens–Fresnel Propagation Lab

**How does a diffraction pattern change from close to the aperture to far away?** Gradually, with no sudden switch. Every point of the aperture sends out a wavelet, and the field at the screen is their complex sum. Close up, the pattern looks like the aperture with rippled edges. As the screen moves away, the Fresnel number falls smoothly and the pattern slowly reshapes into the far-field Fraunhofer pattern.

Move a detector continuously through the complex field behind one square aperture. See how weighted Huygens contributions build the near-field structure, how much power falls in a finite window and how the pattern approaches the Fraunhofer limit.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

The calculation uses the scalar monochromatic Fresnel approximation over the exact square opening, with separable 96-node quadrature. It does not solve the full Maxwell equations, and it leaves out loss of coherence and camera noise. The scene is logarithmic along the axis, the transverse window adapts, and supports are enlarged; detail views show the apparatus parts alone. Exposure is set explicitly, and raw power is never rescaled to follow the peak.

Physics tutorial

## Audit the physics of Huygens–Fresnel Propagation Lab

**Background** Each illuminated element of the aperture contributes a complex amplitude, not a positive amount of brightness. The detector measures $I_z=|U_z|^2$. A spot can therefore be dark even though every element sending light to it is illuminated: the contributions cancel. The Lab keeps one finite square aperture, so the question stays on propagation, not on a catalogue of aperture shapes.

**Why it matters** How does a diffraction pattern change from close to the aperture to far away?

Start with the essentials

- **Focus question**: How does a diffraction pattern change from close to the aperture to far away?
- **One-sentence intuition**: With the aperture half-width as the length scale, the propagation is characterized by $N_F=\frac{(w/2)^2}{\lambda z}$. This number varies continuously. A small value means the far-field approximation works well, but it is not a switch: the Fresnel calculation still produces the pattern.

### Core mathematical model

#### A complex contribution from every aperture element

$$
\begin{aligned}U_z&=\frac{1}{i\lambda z}\iint_\Omega\\&\quad e^{i\pi[(x-\xi)^2+(y-\eta)^2]/(\lambda z)}\,\mathrm d\xi\,\mathrm d\eta\\I_z/I_0&=|U_z|^2\end{aligned}
$$

The aperture sits at axial position zero. Distance is positive along the incoming plane wave, and transverse coordinates are measured from the centre. The incident amplitude is one and the wavelength is the vacuum value. Only the common carrier phase along the axis is removed. All coordinates in the integrals are in metres. The coloured curves in the scene stand for contributions to the integral; they are not bent light rays.

#### Square aperture: two one-dimensional factors

$$
\begin{aligned}F_z(x)&=\int_{-w/2}^{w/2}e^{i\pi(x-\xi)^2/(\lambda z)}\,\mathrm d\xi\\U_z(x,y)&=\frac{F_z(x)F_z(y)}{i\lambda z}\end{aligned}
$$

Within this Fresnel model the field splits exactly into a horizontal factor times a vertical factor. Each factor is computed with 96 Gauss–Legendre nodes across the exact opening, with positive, unequal weights. The phasor polygon shows only the horizontal factor divided by the aperture width; the detector intensity also needs the vertical factor and the propagation prefactor. Drawing only 24 of the terms does not change the detector data.

#### The far field drops the quadratic phase across the aperture

$$
\begin{aligned}I_{\mathrm{FF}}/I_0&=\left(\frac{w^2}{\lambda z}\right)^2\\&\quad\operatorname{sinc}^2\!\left(\frac{\pi wx}{\lambda z}\right)\\&\quad\operatorname{sinc}^2\!\left(\frac{\pi wy}{\lambda z}\right)\\\operatorname{sinc}(t)&=\sin(t)/t\end{aligned}
$$

The gold reference is this analytic limit, computed separately in the same units and observation window. Its first zero along the axis lies at the wavelength times the distance, divided by the full aperture width. A near-field pattern need not have that zero or look like this one. The reported discrepancy is the RMS difference of the two centre profiles divided by the larger peak. It is neither an experimental error nor a measure of accuracy over the whole field.

#### Paraxial validity is not the same as far field

$$
\begin{aligned}N_F&=\frac{(w/2)^2}{\lambda z}\\|\delta\phi_4|&\le\frac{\pi r_{\max}^4}{4\lambda z^3}\\r_{\max}&=\sqrt2(L+w/2)\end{aligned}
$$

The phase-bound readout puts an upper limit on the fourth-order path term that the Fresnel model leaves out, using the largest separation between the aperture and a corner of the window. In the near field, Fresnel can stay accurate while Fraunhofer fails badly. The aperture is always hundreds of wavelengths wide, and the control ranges are limited on purpose. The model does not solve for evanescent waves, vector fields at the edges, the thickness of the mask or light radiated backward.

#### Power that falls outside the detector window

$$
\begin{aligned}\eta_W&=\frac{\int_{-L}^{L}\int_{-L}^{L}|U_z|^2\,\mathrm dx\,\mathrm dy}{w^2}\\P_{\mathrm{all}}/I_0&=w^2\\B&=\min\!\left(1,\frac{\ln(1+GI/I_0)}{\ln5}\right)\end{aligned}
$$

With unit incident amplitude, the power through the square equals the aperture area, and it spreads over the whole observation plane. The finite square detector catches only part of it; the tails fall outside. The power inside the window is estimated from point samples by trapezoidal integration. The window half-width adapts: it is the larger of 0.7 aperture widths and three predicted far-field zero spacings. Exposure and logarithmic brightness change only the images; the readouts keep the raw values. The profile plot uses a labelled logarithmic axis with ticks in raw values, not intensities normalized to the peak.

#### How the scene maps physical distances

$$
\begin{aligned}X_{\mathrm{scene}}(z)&=-240+600\frac{\ln(z/0.04)}{\ln100}\\Z_{\mathrm{scene}}(x)&=140x/L\\Y_{\mathrm{scene}}(y)&=155+140y/L\end{aligned}
$$

The scene uses different scales along the axis and across it, and both are labelled. The mask stays at scene coordinate minus 320, leaving a gap before the first simulated distance. Aperture and detector share one transverse scale, so their sizes compare correctly within a view; the detail cameras isolate and magnify them without changing the model. Each row of the propagation carpet has its own transverse window, so its horizontal axis is not a fixed length in millimetres. Playback only reveals the contributions and moves slowed-down markers.

### Common difficulties

#### A dark spot still receives contributions

**Typical misconception** If more of the aperture is lit, the detector has to get brighter.

**Better mental model** Complex amplitudes can cancel. Add the weighted fields first, then take the squared magnitude. A coarse sum with equal weights can also alias the rapidly oscillating phase, so drawing more dots does not by itself make the result correct.

### Run the experiment

1. 01

   #### Scene 1: Point-wavelet construction

   In the wavelet-construction scene, move the probe and look at the weighted phasor polygon. Reveal the partial sums step by step; the detector data do not change.

   **What to observe:** When the phasors cancel, the intensity drops. Showing part of the sum is only a display; it is not a new measurement.

2. 02

   #### Scene 2: Fresnel near field

   Choose the near field. Change the aperture width and slide the detector, then compare the Fresnel pattern with the gold reference.

   **What to observe:** The near-field ripples change smoothly, and here the far-field approximation can fail.

3. 03

   #### Scene 3: Fraunhofer far field

   Choose the far field. Put the probe near the predicted first zero and adjust the wavelength. Then change the exposure and check that the raw intensity stays the same.

   **What to observe:** The Fraunhofer pattern appears as a limit. The power caught in the finite window does not depend on the image brightness.

Physical conclusion

One complex field links the contributions, their propagation and what the detector records. The geometry and the scale labels matter as much as the glowing pattern.

## Related experiments and articles

Continue exploring

### Aperture, propagation, measurement

Change one physical assumption at a time: slit count, coherence, aperture shape or propagation distance.

1. [Lab **Diffraction Studio** Start with a focal-plane scan of one, two or many slits.](https://sandboxphysics.com/labs/diffraction/)
2. [Lab **Young Double-Slit Bench** Add unequal amplitudes and partial coherence to two slits.](https://sandboxphysics.com/labs/young-double-slit-bench/)
3. [Lab **Aperture Diffraction Studio** Draw a two-dimensional opening and inspect its complement.](https://sandboxphysics.com/labs/aperture-diffraction-studio/)
4. [You are here **Huygens–Fresnel Propagation Lab** Move the receiving plane from near field toward far field.](https://sandboxphysics.com/labs/huygens-fresnel-propagation-lab/)
5. [Lab **Diffraction-Grating Spectrometer** Connect groove spacing and illuminated count to spectral resolution.](https://sandboxphysics.com/labs/diffraction-grating-spectrometer/)

Waves & optics · Starter path

## From one ray to interference measurement

Start with refraction, find where the ray picture stops working, then use interference to measure tiny distances.

[Start here → **Optical Boundary Explorer** Turn the incident angle and watch reflected and transmitted power trade off. Then switch to the critical-angle scene. Observe · 11 min](https://sandboxphysics.com/labs/optical-boundary-explorer/)

1. [1 Optical Boundary Explorer](https://sandboxphysics.com/labs/optical-boundary-explorer/)
2. [2 Rainbow Caustic Observatory](https://sandboxphysics.com/labs/rainbow-laboratory/)
3. [3 Camera Obscura](https://sandboxphysics.com/labs/camera-obscura/)
4. [4 Coherent Wave Composer](https://sandboxphysics.com/labs/coherent-wave-composer/)
5. [5 Young Double-Slit Bench](https://sandboxphysics.com/labs/young-double-slit-bench/)
6. [6 Michelson Precision Lab](https://sandboxphysics.com/labs/michelson-precision-lab/)

[View the full path →](https://sandboxphysics.com/topics/waves-and-optics/#starter-path)
