HomePhysics & MechanicsAtmospheric Mirage

Atmospheric Mirage Ray-Bending Simulator

Trace light rays bending through a stack of temperature-gradient air layers via Snell's law and watch a distant object's image distort, invert or split into a Fata-Morgana-like superior/inferior mirage — the real optics behind most 'UFO' misidentifications.

Physics & Mechanics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
ufo-phenomena-pollution ↗ Open standalone

Most reported "UFO" sightings that aren't misidentified aircraft, satellites or planets turn out to be ordinary atmospheric optics — and the mirage family is one of the most persistent offenders. When air temperature changes rapidly with height, its refractive index changes with it, and light rays travelling near-horizontally curve continuously instead of going straight. This simulator applies Snell's law across a stack of temperature-gradient air layers to trace exactly how those rays bend, then reconstructs the distorted, stretched, inverted or multiplied "apparent image" an observer's eye would actually perceive — the same optics that turns a distant ship, cliff or the setting sun into a wavering, saucer-shaped or hovering light. Adjust the gradient, the layer resolution, distance and object size to see when a real object crosses from ordinary refraction into a full inferior, superior or Fata-Morgana-style mirage.

⚙ Under the hood

Light rays bend through a temperature gradient in the air, creating inverted or distorted images of distant objects.

atmospheric_phenomenalight_refractiontemperature_gradient

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)