🌡️ Road Mirage Ray Tracing (2D Ray Diagram and Driver View)
2D ray diagram and driver view of an inferior mirage over a hot road: temperature and refractive-index profile, RK4 ray tracing, critical angle and the inverted image of a car. Same engine and four checks as the 3D page.
⚙ Under the hood
2D ray diagram and driver view of an inferior mirage over a hot road: temperature and refractive-index profile, RK4 ray tracing, critical angle and the inverted image of a car. Same engine and four checks as the 3D page.
miragerefractionray tracingrefractive indexcritical angle
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install