🏜️ Mirage Over Hot Ground (2D ray paths and temperature profile)
2D side view of light rays bending in air whose temperature changes with height: heat the ground or choose a cold-air inversion, move the eye, and watch rays curve upward and the mirage form. Same gradient-index RK4 ray tracer as the 3D page, with four independent numerical checks.
⚙ Under the hood
2D side view of light rays bending in air whose temperature changes with height: heat the ground or choose a cold-air inversion, move the eye, and watch rays curve upward and the mirage form. Same gradient-index RK4 ray tracer as the 3D page, with four independent numerical checks.
miragerefractiongradient indexray tracingatmospheric optics
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install