HomeMedicine & BiophysicsOCT Depth-Slicing Simulator

Optical Coherence Tomography (OCT) Depth-Slicing Simulator

Interactive optical coherence tomography (OCT) simulator: sweep a reference-arm mirror through a layered tissue sample and watch a low-coherence interferometer reveal internal layer boundaries invisible to a surface camera.

Medicine & Biophysics3DAdvanced60 FPS
oct-depth-slicing-simulator ↗ Open standalone

Optical coherence tomography images tissue the way ultrasound images it with sound, but with light: a low-coherence beam is split into a reference path and a sample path, and because the light source's coherence length is extremely short, only reflections that traveled the exact same round-trip distance as the reference mirror produce a detectable interference signal. Sweeping the reference-arm mirror therefore traces a depth-resolved reflectivity profile — an A-scan — with a peak at every real interface inside the tissue. Repeating that sweep at many lateral positions builds a full cross-sectional image (a B-scan) showing internal layers that a surface photograph, which only ever sees the outermost surface, could never reveal. This simulator lets you compare both views on a simulated layered retina: switch to the surface-photo mode to see how little a camera actually captures, then switch to OCT and sweep the reference mirror to watch the internal layer boundaries emerge one by one.

⚙ Under the hood

Sweep a low-coherence interferometer's reference-arm mirror through a simulated layered retina and watch interference peaks reveal internal boundaries invisible to a surface photograph — build a depth profile (A-scan) then a full cross-section (B-scan).

optical coherence tomographyOCTinterferometrymedical imagingretinalow-coherence interferometrybiophotonicsoptics

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)