Create a gripping, crystal-clear modern quantum optics laboratory apparatus ("QUANTUM OPTICS BENCH /…

Prompt
Create a gripping, crystal-clear modern quantum optics laboratory apparatus ("QUANTUM OPTICS BENCH // DOUBLE-SLIT INTERFEROMETER") demonstrating wave-particle duality, single-photon accumulation, and the instantaneous collapse of interference fringes when a "Which-Path" slit detector is switched on. Mood: clinical physics wonder, crisp nocturnal laboratory clarity, eerie quantum mystery. Palette: Optical lab obsidian `#0B0F17`, bench slate `#161E2E`, probability wave cyan `#2DD4BF`, which-path detector amber `#FBBF24`, slit barrier steel `#475569`, single-photon hit pearl `#F8FAFC`, and histogram coral `#F43F5E`. Typography: Clean technical monospace (`Menlo`, `Consolas`) for live Photon Count (`N`), Wavelength (`λ = 520 nm`), Slit Separation (`d = 0.25 mm`), and Quantum State (`|ψ⟩ = (|L⟩ + |R⟩)/√2` vs `COLLAPSED MIXTURE`), paired with stark geometric sans-serif headings. Layout & Composition: Horizontal dark optical bench rendered on high-DPI Canvas 2D: on the left sits a collimated single-photon laser emitter; in the center stands a precision double-slit barrier with adjustable slit separation and an optional glowing amber **Which-Path Quantum Detector** mounted beside Slit A; on the right stands a vertical phosphor detection screen paired with a live accumulated **Intensity Histogram** showing individual photon impacts building up dot-by-dot over time! Bottom apparatus bar: Emission Mode (`Single Photons`, `Rapid Stream`, `Continuous Wave`), prominent **"Which-Path Detector: OFF / ON"** toggle switch, Wavelength slider (`400nm Violet` → `680nm Crimson` — shifts wave & photon hue across the visible spectrum!), Slit Separation slider, and "Clear Screen". Motion & Choreography: Smooth 60fps 2D wave-interference ripples propagating from both slits with constructive/destructive nodal dark bands when the detector is OFF, plus individual luminous photons traveling and landing stochastically according to the exact quantum probability distribution `P(y) = cos²(π d y / λ L) · sinc²(π a y / λ L)`. Interactions & Signature Moment: Watch individual photons strike the right-hand phosphor screen one-by-one — seemingly random at first, yet inexorably building up crisp alternating bright and dark **quantum interference fringes**! The instant the viewer flips the glowing amber **"Which-Path Detector: ON"** switch, the wave-interference pattern visibly collapses into two separate classical particle streams, the quantum ket formula changes from superposition to classical sum, and new hits on the phosphor screen immediately flatten into **two dull classical Gaussian mounds** directly behind the slits! Copy Direction: Authentic quantum-mechanics nomenclature — "DOUBLE-SLIT INTERFEROMETER", "SUPERPOSITION |ψ⟩ = (|A⟩ + |B⟩)/√2", "WHICH-PATH DETECTOR", "FRINGE VISIBILITY V = 1.00", "FIRE PHOTON". DESCRIPTION An interactive quantum double-slit interferometer where single photons stochastically build interference fringes on a phosphor screen until toggling the amber Which-Path Detector instantaneously collapses them into two classical bands. VISUAL TECHNIQUES - High-DPI Canvas 2D real-time wave-interference field and stochastic photon-impact probability sampler (`cos² · sinc²` vs two-slit Gaussian) - Dynamic visible-spectrum wavelength color mapping (400nm violet to 680nm red) - Live accumulating phosphor hit screen paired with a real-time intensity histogram curve - Instantaneous quantum-to-classical wavefunction collapse toggle with animated detector beam INTERACTION MODEL Fire single photons or continuous waves and watch interference fringes emerge dot-by-dot; flip the Which-Path Detector ON to collapse the pattern into two classical bands; tune Wavelength and Slit Separation live.







