3D Laser Cavity Simulator
Orbit a real Three.js laser resonator — the same population-inversion and cavity-photon-lifetime rate equations as the 2D laser simulator, integrated live so the threshold you cross is a genuine numerical result, not a scripted cue.
This is the 3D companion to the Laser Simulator: the same laser rate equations — dN/dt = Rp − N/τ − g·N·φ for the population inversion N, and dφ/dt = g·N·φ − φ/τc + spontaneous emission for the intracavity photon number φ — now drive a genuine, freely-orbitable Three.js resonator instead of a flat side-on canvas. The cavity photon lifetime τc is computed from the real formula τc = 2L / (c·(−ln(R1·R2))), so raising the output-mirror reflectivity or lengthening the cavity measurably lowers the pump threshold shown live in the readout, exactly as it does in a physical laser. Push the pump slider past that threshold and watch the population inversion climb, the intracavity photon count spike through a relaxation oscillation, and a real output beam — colored by the wavelength slider via a genuine wavelength-to-RGB mapping — punch through the partially-transparent output coupler onto the target screen.
A live-integrated two-variable laser rate-equation model (population inversion N, intracavity photon number φ) drives a real Three.js resonator: HR and output-coupler mirrors, a glowing gain medium, circulating photon particles and an output beam, all positioned from the same τc = 2L/(c·(−ln R1R2)) cavity-lifetime formula used in real laser physics.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install