Skip to main content
Sandbox Physics

Optics 057 · Diffraction, Fourier optics, and computational imaging

Aperture Diffraction Studio

How is the diffraction from a hole related to that from an obstacle of the same shape? They are complements: the opening's diffracted field plus the obstacle's adds up to the unobstructed wave, which is Babinet's principle. Away from the straight-through beam, their far-field patterns are therefore the same. A round hole gives Airy rings in the far field, and a round opaque disk can show a bright spot in the middle of its shadow, the Arago spot.

Draw a binary aperture and propagate its complex field onto a 3D receiving plane. Compare slits, Airy rings, polygons and letters, swap the mask for its complement, and watch the Arago spot come out of the same calculation.

Interactive modelAperture Diffraction Studio
Size-based Fresnel scale / receiver distance Nd,zN_d,z0.500.50
Probe / central TOTAL intensity Ip/I0,Ic/I0I_p/I_0,I_c/I_050%50\%
Babinet amplitude residual / mask cell pitch ϵB,Δξ\epsilon_B,\Delta\xi0.00π0.00\pi
Model regimevalid model regime\text{valid model regime}

Physics tutorial

Audit the physics of Aperture Diffraction Studio

BackgroundA hole does not cast a picture of its outline on a distant screen. Every open patch of the mask adds a complex field at the screen, and complementary masks add as amplitudes: UA+U1−A=U0U_A+U_{1-A}=U_0. The Lab propagates both masks with the same calculation, so the detector pattern always belongs to the mask on display.

Why it mattersHow is the diffraction from a hole related to that from an obstacle of the same shape?

Start with the essentials

Focus question
How is the diffraction from a hole related to that from an obstacle of the same shape?
One-sentence intuition
Add the amplitudes first, then take the intensity: I=∣U∣2I=|U|^2. A circular opening gives Airy rings in the far-field limit, while an opaque disk can bring back a bright on-axis point inside its near-field shadow. The two patterns come from different fields.

Core mathematical model

Fresnel propagation from the drawn mask to the screen

UA(x,y;z)=1iλz∬A(ξ,η)eiπ[(x−ξ)2+(y−η)2]/(λz) dξ dηIA/I0=∣UA∣2\begin{aligned}U_A(x,y;z)&=\frac{1}{i\lambda z}\iint A(\xi,\eta)\\&\quad e^{i\pi[(x-\xi)^2+(y-\eta)^2]/(\lambda z)}\,\mathrm d\xi\,\mathrm d\eta\\I_A/I_0&=|U_A|^2\end{aligned}

The mask sits at zero axial distance, light travels forward in vacuum, and every coordinate in the integral is in metres. The incident amplitude is one. Only the common longitudinal phase is dropped. The editor produces a binary design, which is rasterized into cells whose amplitude is the area average, and the propagation kernel is integrated over each cell. The field does not come from a periodic FFT or a stored pattern.

Babinet's principle holds for amplitudes

U1−A=1−UA∣U1−A∣2=1+∣UA∣2−2Re⁡UA∣U1−A−1∣2=∣UA∣2\begin{aligned}U_{1-A}&=1-U_A\\|U_{1-A}|^2&=1+|U_A|^2-2\operatorname{Re}U_A\\|U_{1-A}-1|^2&=|U_A|^2\end{aligned}

Outside the finite design area, the opening transmits nothing and its complement transmits fully. The unblocked, infinite plane wave has unit field everywhere on the screen. So the total intensity behind the obstacle generally differs from the intensity behind the opening. Only the scattered part, left after the background is subtracted, equals the negative of the aperture field. The two total images are not equal.

Ideal far-field references for a circle and a slit

Icircle/I0=(πd24λz)2[2J1(q)q]2q=πdrλzr1≃1.21967 λzdx1,slit=λzd\begin{aligned}I_{\rm circle}/I_0&=\left(\frac{\pi d^2}{4\lambda z}\right)^2\left[\frac{2J_1(q)}q\right]^2\\q&=\frac{\pi d r}{\lambda z}\\r_1&\simeq1.21967\,\frac{\lambda z}{d}\\x_{1,\rm slit}&=\frac{\lambda z}{d}\end{aligned}

For a circle, size means the diameter, never a radius of curvature. For a slit, size is the full width; the slit is one millimetre long, which adds a second sinc factor. The gold curve assumes an ideal smooth shape in the far-field limit, and the cyan curve uses the rasterized Fresnel field. For a polygon, size is the diameter of the circle through its vertices; for letters and drawings, it is the side of the design square. In the near field the computed curve need not match the gold one.

The bright point behind an opaque disk

UA(0;z)=1−eiπa2/(λz)Udisk(0;z)=eiπa2/(λz)Idisk(0;z)/I0=1,a=d/2\begin{aligned}U_A(0;z)&=1-e^{i\pi a^2/(\lambda z)}\\U_{\rm disk}(0;z)&=e^{i\pi a^2/(\lambda z)}\\I_{\rm disk}(0;z)/I_0&=1,\qquad a=d/2\end{aligned}

This on-axis result is derived independently: integrate radially over an ideal circular opening, then apply Babinet's principle. It assumes an infinite uniform plane wave and scalar Fresnel diffraction. The rasterized calculation should approach this value on its own; it is not set to exactly one, and no dot is drawn on top. In a real experiment, a finite beam, rough edges, misalignment and partial coherence can change the result.

Sampling and where the Fresnel approximation holds

Δξ=1.6 mm256Nd=(d/2)2λzδϕmax⁡≤πrmax⁡44λz3\begin{aligned}\Delta \xi&=\frac{1.6\,\mathrm{mm}}{256}\\N_d&=\frac{(d/2)^2}{\lambda z}\\\delta\phi_{\max}&\le\frac{\pi r_{\max}^4}{4\lambda z^3}\end{aligned}

The Fresnel number treats the size setting as a diameter, so it is not the full extent of every polygon, slit or drawing. The phase-error bound instead uses the corners of the full design area and of the detector window. The detector window adjusts to wavelength, distance and size. The window power counts only light from the compact opening, not the total energy of an infinite plane wave. The simulated detector samples points; it does not integrate over pixels. Convergence of the raster and the independent limits are tested separately.

How detector brightness is displayed

B=min⁡ ⁣(1,ln⁡(1+GI/I0)ln⁡5)G=10g\begin{aligned}B&=\min\!\left(1,\frac{\ln(1+G I/I_0)}{\ln5}\right)\\G&=10^g\end{aligned}

Both detector maps use this same brightness mapping. Gain does not change the raw readouts, the field values or the log-intensity profile. The scene enlarges the mask and the receiver separately and draws the optical rail on a logarithmic scale. The computed dots are field samples on transverse windows that adapt in size; they are not photons and do not show light in flight. The mechanical supports are not part of the ideal optical model.

Common difficulties

Complementary masks do not give the same total intensity

Typical misconceptionAn opaque disk should give the same rings as a circular hole, or else a centre that stays dark.

Better mental modelAdd the complex amplitudes before squaring. The unblocked background wave interferes with the light scattered by the disk and can bring back a bright spot on the axis, inside the geometric shadow.

Run the experiment

  1. 01

    Scene 1: Draw an aperture

    Start with the circle and shrink its diameter. Then rotate a slit or a letter and compare the mask with the whole detector map.

    What to observe: A smaller opening spreads into a wider far-field pattern instead of making a smaller picture of the mask.
  2. 02

    Scene 2: Babinet complement

    Draw an opening and release to propagate it. Then switch to the complementary obstacle without changing the wavelength or the distance.

    What to observe: The total intensity behind the complementary obstacle changes, even though its scattered intensity, once the background is subtracted, matches the opening's.
  3. 03

    Scene 3: Poisson–Arago spot

    Select Arago spot. Look at the opaque disk in the mask view, then at the bright central spot on the receiving screen.

    What to observe: Under the ideal plane-wave model, the computed intensity at the centre of the disk's shadow approaches one.

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. LabDiffraction StudioStart with a focal-plane scan of one, two or many slits.
  2. LabYoung Double-Slit BenchAdd unequal amplitudes and partial coherence to two slits.
  3. You are hereAperture Diffraction StudioDraw a two-dimensional opening and inspect its complement.
  4. LabHuygens–Fresnel Propagation LabMove the receiving plane from near field toward far field.
  5. LabDiffraction-Grating SpectrometerConnect groove spacing and illuminated count to spectral resolution.
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy