Presets
Playback
Source and slits
Observation
Camera
Layers
Quality
Model check
The science
Matter waves
A particle of mass m and speed v has the de Broglie wavelength λ = h / (m v). An electron at 106 m/s has λ = 0.727 nm; a C60 molecule at 200 m/s has about 3 pm. Interference of such waves has been observed for electrons, neutrons, helium atoms and large molecules.
Two slits
Each slit of width a diffracts the wave with the single-slit envelope sinc2(π a sinθ / λ); the two slits at separation d add the cosine fringes 1 + μ cos(2π d sinθ / λ). Bright fringes sit at d sinθ = nλ, so on a screen at distance L the spacing is Δy ≈ λ L / d. The fringe visibility is V = (Imax - Imin)/(Imax + Imin) = μ for equal slits.
One particle at a time
Every detection is a single random event drawn from the probability density |ψ|2 (Born rule); the fringes only emerge in the histogram of many detections. The coherence slider μ stands for how much which-path information is available: μ = 1 none, μ = 0 a perfect detector, which turns the pattern into the sum of two single-slit patterns.
Wave picture
The coloured map is a Huygens-Fresnel sum: each slit is 14 point sources and the 2D wave of each is exp(ikr)/√r. The time-averaged intensity is |ψ1|2 + |ψ2|2 + 2μ Re(ψ1ψ2*).
Honest simplifications
The real ratio λ/d of fast particles is far too small to show crests, so the wave map uses a reduced ratio (clamped to 0.08 - 0.6 and labelled); the screen strip, histogram and all numbers are in true physical units from the Fraunhofer formula. Slits are ideal, the beam is perfectly monochromatic and coherent, and no particle-wall interaction (Casimir-Polder forces, charging) is modelled. Educational model.
Model checks in this page
(1) h/(m v) for an electron at 106 m/s gives 0.7274 nm; (2) the numerical Huygens sum in the far field puts the first maximum at sinθ = λ/d; (3) 40 000 sampled detections follow the density with a chi-square per degree of freedom close to 1.
What the 3D scene shows
The surface in the vacuum trough is the real part of the Huygens-Fresnel field Re(ψ e^(-iωt)) from the two slits, coloured by the time-averaged intensity. The slit plate is rebuilt from the sliders (width and separation scale with a/d), and every detection lands on the phosphor screen at the position drawn from the physical Fraunhofer density. The glowing spheres are symbolic: a particle has no trajectory through the slits, so they disappear in the plate and reappear on the other side. The trough, electron gun, pumps and rack were modelled and baked in Blender.