🏜️ Desert Oasis Mirage: Heat-Refraction Ray Tracer (2D)
Interactive 2D ray-traced inferior mirage: adjust ground and air temperature, eye height and the hot-air layer thickness to watch light rays bend through a real refractive-index gradient and produce the inverted mirror image of a desert oasis near the horizon.
⚙ Under the hood
Interactive 2D ray-traced inferior mirage: adjust ground and air temperature, eye height and the hot-air layer thickness to watch light rays bend through a real refractive-index gradient and produce the inverted mirror image of a desert oasis near the horizon.
OpticsRefractionMiragePerceptionRay Tracing
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install