Laser Cavity Threshold Lab (2D)
2D laser rate-equation lab: pump a gain medium between two mirrors, tune reflectivity and cavity loss, and watch population inversion clamp and photon number cross the real lasing threshold.
This 2D companion runs the same physics as the 3D optical-cavity model — a pumped gain medium between two mirrors — but through a plain canvas view built to make the lasing threshold itself the point: real four-level rate equations for population inversion and photon number are integrated live, mirror reflectivities and internal loss set the cavity's round-trip loss γ, and a running graph shows the inversion clamp and the photon-number kink the instant pump rate crosses the computed threshold P_th, instead of leaving the threshold as an implied backstory to a 3D beam.
2D laser rate-equation lab: pump a gain medium between two mirrors, tune reflectivity and internal loss, and watch population inversion clamp while photon number crosses the real lasing threshold in a live auto-scaled graph.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install