🏜 Desert Mirage Heat — 2D Ray Paths in Hot Air
2D side-view companion of the desert mirage sim: Fermat/Snell ray tracing through an exponential temperature profile, direct and mirage images of an object, apparent heights and a launch-angle map, checked against the Snell invariant n(y)cos(theta).
⚙ Under the hood
2D side-view companion of the desert mirage sim: Fermat/Snell ray tracing through an exponential temperature profile, direct and mirage images of an object, apparent heights and a launch-angle map, checked against the Snell invariant n(y)cos(theta).
MirageRefractionRay OpticsAtmospheric Optics
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install