Home▸Physics & Mechanics▸Desert Mirage Heat — 2D Ray Paths in Hot Air

🏜 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).

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Desert Mirage Heat — 2D Ray Paths in Hot Air ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)