Home▸Optics & Light▸Mirage Over Hot Ground (2D ray paths and temperature profile)

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

Optics & Light2DModerate60 FPS📱 Mobile-adapted🤖 ChatGPT⇄ 3D version
Mirage Over Hot Ground (2D ray paths and temperature profile) ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)