Place convex/concave lenses, mirrors, beam splitters, and prisms to bend, disperse RGB wavelengths, and focus laser beams into target sensors.
Vector ray tracing, chromatic wavelength dispersion, and photo-sensor telemetry
Accurately calculates light ray deflection across convex lenses, concave lenses, and high-index glass interfaces in real-time 60 FPS.
Split polychromatic white laser beams into distinct Red (650nm), Green (532nm), and Blue (450nm) spectral bands through triangular glass prisms.
Simulate fiber optic waveguides and glass-air boundaries where incident angles exceed the critical angle ($ heta_c$), reflecting 100% of light energy.
Light bends at material boundaries according to $n_1 \sin\theta_1 = n_2 \sin\theta_2$, governed by phase velocity changes in dense media.
Refractive index increases for shorter wavelengths ($n(\lambda) = A + B/\lambda^2$), fanning white light into red, green, and blue components.
When the incident angle exceeds the critical angle ($\theta_c = \arcsin(1/n)$), 100% of light energy is reflected with zero transmission loss.
Everything you need to know about Laser Optics & Prism Lab
The engine performs 2D vector geometric ray tracing. Each light ray calculates mathematical line/polygon boundary intersections, evaluates Snell's Law of Refraction or the Law of Reflection, and splits into reflected and transmitted rays accordingly.
Prism dispersion occurs because optical materials exhibit chromatic dispersion (Cauchy's equation): shorter blue wavelengths (450nm) experience a higher refractive index than longer red wavelengths (650nm), causing blue light to bend at a steeper angle.
When light attempts to travel from a denser medium (like glass, n = 1.52) into a less dense medium (like air, n = 1.0) at an angle greater than the critical angle (arcsin(1/n) ≈ 41.1°), 100% of the light reflects internally without any transmission.
Expand your interactive learning with gravitation, chaos dynamics, and aerodynamics.
Align multi-bounce mirror mazes and beam splitters to illuminate optical target sensors with calibrated photon flux telemetry.
You can spawn and freely position triangular prisms, biconvex converging lenses, biconcave diverging lenses, flat front-surface mirrors, parabolic mirrors, 50/50 beam splitters, and target photo-sensors.
Click and drag any optical element or the laser diode directly on the canvas to reposition it. Click an element to select it, then use the Rotation Angle or Refractive Index sliders in the inspector panel.
A beam splitter is a partially silvered optical window that transmits 50% of incident light power straight through while reflecting the remaining 50% at 90 degrees, dividing a single laser into two synchronous beams.
Yes! You can choose between White Polychromatic light, 650nm Red, 532nm Green, 450nm Blue, or 405nm Violet, and dial the laser diode power from 10 mW to 100 mW.
The photo-sensor registers the hit, absorbs the incoming photons, turns glowing green ('HIT!'), and updates the telemetry HUD with active illuminated sensor counts.
Higher refractive indices (e.g. Diamond n = 2.42 vs Water n = 1.33) cause stronger refraction bending, widen chromatic dispersion fan angles, and lower the critical angle for Total Internal Reflection.
Yes! Click 'Export CSV' to download detailed ray segment coordinates, wavelengths, color codes, intensities, and path lengths, or click 'Snapshot' for high-resolution PNG image captures.
Yes, lenses refract paraxial and marginal rays based on their radius of curvature and index of refraction, accurately showing focal point convergence for convex lenses and divergence for concave lenses.
No installations are required. The entire optical physics laboratory executes client-side at 60 FPS in modern web browsers using HTML5 Canvas and TypeScript.