Low-Coherence Interferometry (2D): OCT A-Scan From Numerical Spectral Synthesis
Interactive 2D low-coherence interferometer: instead of an envelope formula, this builds each A-scan bottom-up by summing dozens of discrete monochromatic interference terms across the source's spectrum and I/Q-demodulating them, live, to show exactly how coherence gating and axial resolution emerge in OCT.
This is the 2D counterpart of the OCT axial-resolution simulator. Rather than evaluating a closed-form Gaussian coherence-envelope formula, this engine discretizes the broadband source's power spectrum into dozens of individual wavelength components, coherently sums each one's interference contribution at every depth, and recovers the familiar coherence-gated envelope by in-phase/quadrature demodulation — the same bottom-up approach a spectral-domain OCT processing pipeline uses. A 2D schematic of the Michelson interferometer shows the reference and sample arms with animated beams; a zoomed raw-fringe panel reveals the actual oscillating optical carrier riding beneath the envelope near the current mirror position; and a full A-scan panel plots the demodulated envelope across the whole scan range. The axial resolution readout is measured directly from this synthesized signal's own full-width-half-max, not assumed from a formula, so tuning wavelength and bandwidth shows the resolution/bandwidth trade-off emerge numerically — including where the usual textbook approximation starts to break down.
Interactive 2D counterpart of the OCT interferometer simulator: instead of evaluating a closed-form Gaussian envelope, this engine discretizes the source spectrum into dozens of monochromatic terms, sums their interference contributions and I/Q-demodulates them live to build each A-scan bottom-up, with a raw-fringe zoom panel showing the actual oscillating optical carrier.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install