🔭

Aperture Propagation: Near- and Far-Field Diffraction

Draw a complex aperture, choose a propagation distance and watch the sampled scalar field evolve from Fresnel (near-field) to Fraunhofer (far-field) diffraction, computed with FFT angular-spectrum and Fresnel transforms on a physical grid.

Pick a preset • paint or erase on the aperture • click the intensity map to move the line cuts
λ633 nmWavelength
zDistance
NFFresnel number a²/λz
ASMMethod
PPower on detector

Preparing…

Aperture t(x, y) · illumination z = 0

Complex field just after the aperture, sampled on the N × N window. Grey: |U|; phase view uses a cyclic map, masked where |U| ≈ 0. Paint/erase edits this grid.

Propagated intensity |U|² I/I₀

Absolute intensity in units of the incident I₀ (not renormalised). Click, drag or use arrow keys to move the cross-hair that sets the line cuts.

Phase arg U (carrier eikz removed) cyclic

Phase in radians, transparent (undefined) where |U|² < 10⁻³ of the peak.

Line cuts through the cross-hair x and y

Solid: numerical |U|² along x (top) and y (bottom). Dashed: analytic paraxial Fraunhofer pattern for the same aperture (only meaningful for NF ≪ 1).

Grid pitch Δx
Window L = NΔx
Padded grid
Output pitch
Detector extent
Fresnel number NF
zc = LpΔx/λ
Suggested method
Band limit fmax
Samples per feature
Transmitted power
On detector
Outside detector
Removed (evanescent / band limit)
In outer grid band
Peak |U|²
On-axis |U|²
Exact on-axis (RS)
Cross-hair (x, y)
|U|², arg U at cross-hair
x-cut vs Fraunhofer (RMS/peak)
Compute time
💡 How to use

Learn with this tool

Learning objectives

  • Predict whether a configuration is in the Fresnel or the Fraunhofer regime from the Fresnel number NF = a²/(λz), and recognise both patterns.
  • Explain angular-spectrum propagation as a plane-wave decomposition with transfer function H(fx, fy; z), including what happens to evanescent spatial frequencies.
  • Choose a grid (pitch, extent, padding) and method that sample the problem adequately, and diagnose aliasing and wraparound from the reported numbers.

Prerequisites

Model

A monochromatic scalar field U(x, y, z) e−iωt in vacuum obeys the Helmholtz equation (∇² + k²)U = 0 with k = 2π/λ. Writing the field at z = 0 as a superposition of plane waves (its angular spectrum A(fx, fy) = ℱ{U(x, y, 0)}), each plane wave simply acquires a phase on propagation:

U(x, y, z) = ℱ⁻¹{ A(fx, fy) · H(fx, fy; z) },   H = exp[i2πz √(1/λ² − fx² − fy²)]

For fx² + fy² > 1/λ² the square root is imaginary, H = exp(−κz) with κ = 2π√(f² − 1/λ²): these evanescent components decay and carry no power to the far field. The tool either drops them or lets them decay. Expanding the square root to second order gives the paraxial Fresnel transfer function H ≈ eikz exp(−iπλz f²), whose inverse transform is the impulse response h = eikz/(iλz) · exp[iπ(x² + y²)/(λz)]. When NF = a²/(λz) ≪ 1 the quadratic phase across the aperture is negligible and the field is the Fraunhofer pattern, a scaled Fourier transform of the aperture evaluated at f = x/(λz).

λ
vacuum wavelength (medium index n = 1)
t(x, y)
complex aperture transmittance (thin-element model)
a
in the formulas: aperture half-width or radius (for zone plates the outer radius), i.e. half the width/diameter set by the “Width / diameter a” control
N, Δx, L
samples per side, grid pitch and window extent L = NΔx
Np, Lp
padded grid size and extent (padding factor × N)
zc
critical distance LpΔx/λ: Fresnel TF is well sampled for z ≤ zc, IR and single-FFT Fresnel for z ≥ zc
flimit
band limit 1/[λ√((2z/Lp)² + 1)] (Matsushima–Shimobaba) that prevents the ASM transfer function from aliasing
I₀
incident intensity; all maps are |U|² in units of I₀ (plane wave: |U| = 1)

Assumptions: scalar, monochromatic, fully coherent illumination; thin aperture (Kirchhoff boundary values U = t·Uinc immediately behind it); homogeneous medium; periodic boundary conditions of the discrete Fourier transform. The phase maps show the reduced field U·e−ikz.

Derivation: angular spectrum, Fresnel and the single-FFT transform

Insert U = ∬ A(fx, fy; z) ei2π(fxx + fyy) dfx dfy into the Helmholtz equation. Each component satisfies d²A/dz² + (2π)²(1/λ² − f²)A = 0; keeping only the forward-going (or decaying) solution gives A(z) = A(0) exp[i2πz√(1/λ² − f²)] with Im √ ≥ 0. This is exact for the scalar problem and equals the first Rayleigh–Sommerfeld solution.

Paraxial: for λf ≪ 1, √(1/λ² − f²) ≈ 1/λ − λf²/2, giving the Fresnel TF. Its inverse Fourier transform is the chirp h(x, y). Writing the Fresnel convolution U(x) = ∫ U(ξ) h(x − ξ) dξ and expanding (x − ξ)² = x² − 2xξ + ξ² gives U(x) = eikz eiπx²/(λz)/(iλz) · ℱ{U(ξ) eiπξ²/(λz)} at f = x/(λz). A discrete FFT over Np samples of pitch Δx returns frequencies spaced 1/(NpΔx), i.e. output positions spaced Δx₂ = λz/(NpΔx). Dropping the inner chirp (NF ≪ 1) gives Fraunhofer diffraction.

Sampling: the TF chirp exp(−iπλz f²) changes phase by 2πλz f Δf between frequency samples; requiring ≤ π at f = 1/(2Δx) gives Δx ≥ λz/Lp, i.e. z ≤ zc. The IR chirp in space gives the opposite condition. Parseval's theorem makes the ASM and TF unitary on propagating frequencies, so power is conserved exactly unless the band limit or evanescent treatment removes some.

Exercise 1 — Counting Fresnel zones on axis

  1. A 1 mm circular hole is lit by a 633 nm plane wave. Predict the on-axis intensity at the distance where the hole contains exactly NF = 2 Fresnel zones, and where it contains 3.
  2. Load “Circle: Fresnel”. Set z so that NF = 2 (z = a²/(2λ) ≈ 0.197 m), then NF = 3 (≈ 0.132 m).
  3. Read “On-axis |U|²” and compare with “Exact on-axis (RS)”.
  4. Explain the result using the alternating sign of successive zone contributions.
Show answer

Paraxially I(0) = 4 I₀ sin²(πNF/2): ≈ 0 for NF = 2 (two zones cancel) and ≈ 4 I₀ for NF = 3 (one uncancelled zone contributes twice the unobstructed amplitude). At N = 256 the numerical values are ≈ 3×10⁻⁴ I₀ and 3.94 I₀, against the exact Rayleigh–Sommerfeld values 2×10⁻⁴ I₀ and 4.00 I₀. The ≈ 1.5 % error comes from the pixelated rim and shrinks as N increases.

Exercise 2 — Limiting case: reaching the Fraunhofer regime

  1. For a 0.2 mm circular hole, predict the distance beyond which NF < 0.1 and the first dark-ring radius at z = 2 m.
  2. Load “Airy far field”. Switch the method between Fraunhofer and single-FFT Fresnel, then shorten z to 0.05 m with Fraunhofer selected.
  3. Move the cross-hair to the first minimum of the x-cut and read its position; note the RMS difference from the analytic Airy curve in both cases.
  4. Explain why the Fraunhofer result stops describing the physics at small z even though the numerical transform is still perfectly accurate.
Show answer

NF = (0.1 mm)²/(λz) < 0.1 needs z > 0.16 m. At 2 m the first zero is at 1.22λz/D ≈ 7.7 mm, matching the cut within one output pixel (0.32 mm). At z = 0.05 m, NF ≈ 0.32 and the tool warns: the Fraunhofer transform still returns an Airy pattern, but the physical (Fresnel/ASM) field differs because the quadratic phase across the aperture is no longer negligible.

Exercise 3 — The Poisson–Arago spot

  1. Behind an opaque 1 mm disk at z = 0.3 m, predict the on-axis intensity. Geometric optics says 0; what does wave optics say?
  2. Load “Poisson spot”. Compare with “Circle: Fresnel” at the same distance.
  3. Read the on-axis intensity and the width of the central spot in the x-cut.
  4. Use Babinet’s principle (Udisk = Uopen − Uhole) to explain the result.
Show answer

The exact scalar result for plane-wave illumination is |U(0)|² = z²/(z² + a²) ≈ I₀ at any distance. The preset uses a Gaussian beam (w = 2.5 mm) to avoid periodic copies, which scales the edge contribution by e−a²/w²: expected ≈ 0.92 I₀, observed ≈ 0.91 I₀. The spot is narrow (first zero ≈ 0.38λz/a ≈ 0.15 mm) because it is a J₀² pattern generated by the disk rim.

Exercise 4 — Breaking the sampling rules on purpose

  1. With “Rectangle: near field”, predict what happens if you select the Fresnel TF with no band limit at z ≫ zc.
  2. Set z to about 10 zc (see the readout), uncheck the band limit and try TF, IR and ASM.
  3. Watch the warnings, the outer-band power and the look of the pattern.
  4. Relate the artifacts to aliasing of a chirp and to periodic wraparound.
Show answer

Beyond zc the TF chirp is undersampled: its aliased phase produces spurious replicas and ringing. The IR samples its spatial chirp correctly there and agrees with the band-limited ASM. Large outer-band power means light has spread to the edge of the padded grid and re-enters from the other side; more padding or a larger window is required.

Worked example — designing a Fresnel zone plate

Design an amplitude zone plate with focal length f = 0.2 m for λ = 633 nm. Zone boundaries sit where the path to the focus grows by λ/2: rn = √(nλf), so r₁ = √(633 × 10⁻⁹ × 0.2) m = 0.356 mm and with 8 zones the outer radius is r₈ = 1.006 mm. The outermost zone width is r₈ − r₇ ≈ r₈/(2·8) ≈ 65 µm, so a 4 mm window needs Δx ≲ 16 µm, i.e. N = 256 (Δx = 15.6 µm; the readout reports 4.2 samples per feature). Each open zone contributes amplitude 2 (relative to the unobstructed wave) with the same sign, so the four open zones of eight give |U| ≈ 8 and a focal intensity of ≈ Nzones² = 64 I₀. The “Fresnel zone plate” preset gives about 63 I₀. Replacing the opaque zones by π phase steps doubles the amplitude: ≈ 250 I₀. Higher-order foci appear at f/3, f/5, …; try z = 66.7 mm. The peak there is still ≈ 53 I₀ (paraxial theory gives the same N² peak), but the spot is 3× narrower, so it carries only about 1/9 of the power.

When the model fails

  • Scalar, thin aperture: Kirchhoff boundary values ignore the true fields near edges; for features comparable to λ (sub-wavelength slits, high-NA zone plates) polarization and vector effects matter and a rigorous solver (FDTD, RCWA) is needed.
  • Paraxial methods: TF, IR, single-FFT Fresnel and Fraunhofer fail at large angles; the tool warns when light reaches angles θ ≳ 0.14 rad (8°), where the paraxial replacement of sin θ by tan θ = ρ/z (i.e. f ≈ x/(λz)) is off by about 1 % (1/cos θ − 1 ≈ θ²/2). The stricter classical condition, that the fourth-order phase πρ⁴/(4λz³) ≪ 1, is sufficient but not necessary for accurate intensities.
  • Discrete Fourier transforms are periodic: light reaching the edge of the padded grid re-enters from the opposite side. Watch the outer-band power readout.
  • Band limiting suppresses aliasing but removes high angles at long distances; the removed power is reported.
  • Coherence: the source is a perfectly coherent monochromatic wave. Finite bandwidth or source size washes out fine Fresnel fringes and the Poisson spot.

References

  • J. W. Goodman, Introduction to Fourier Optics, 4th ed., W. H. Freeman (2017), chapters 3–4.
  • D. G. Voelz, Computational Fourier Optics: A MATLAB Tutorial, SPIE Press (2011), chapter 5 (TF vs IR sampling).
  • K. Matsushima and T. Shimobaba, “Band-limited angular spectrum method for numerical simulation of free-space propagation in far and near fields,” Opt. Express 17, 19662 (2009).
  • M. Born and E. Wolf, Principles of Optics, 7th ed., Cambridge (1999), §8.3 (Fresnel and Fraunhofer diffraction).
  • E. Hecht, Optics, 5th ed., Pearson (2017), §10.3 (Fresnel zones, zone plates and the Poisson spot).