A HORIZON EXPERIMENT

The Green Flash: A Sun Split by the Atmosphere

The last edge of daylight is not quite where geometry puts it. Earth’s air bends each colour by a slightly different amount.

LIVE RAY TRACE Spherical atmosphere · dry-air model

The atmosphere lifts the Sun above its geometric position. Shorter wavelengths bend slightly more than red light.

TUNE THE CONDITIONS

Atmosphere controls

All controls are illustrative inputs
RENDER QUALITY
MEASURE IT

Horizon colour-split experiment

Trace red and green rays that leave the observer horizontally. Compare the exact spherical ray trace with a first-order dispersion estimate.

Ready · no measurement yet
MODEL INTEGRITY

Independent numerical checks

Calculating checks…—

Reference values are labelled textbook; the atmosphere itself is a simplified model.

∑ The scienceEQUATIONS, ASSUMPTIONS & LIMITS

Why the colours separate

Air is dispersive: its refractive index is slightly larger for blue light than for red. A ray travelling through a curved, density-stratified atmosphere therefore follows a gently curved path, with each wavelength following a slightly different path.

01 · DISPERSIONnₛₜd(λ) − 1 = 10⁻⁸ [8342.13 + 2406030/(130 − σ²) + 15997/(38.9 − σ²)]Edlén dry-air relation; σ = 1/λ in μm⁻¹.
02 · ATMOSPHEREn(r,λ) = 1 + [nₛₜd(λ) − 1](P/P₀)(T₀/T)e⁻⁽ʳ⁻ᴿ⁾/ᴴExponential density profile; H = RₐᵢᵣT/g.
03 · RAY INVARIANTb = n(r,λ) r cos α(r)Bouguer invariant for a spherically symmetric refractive atmosphere.
04 · RAY PATHdφ/dr = b / [r √((nr)² − b²)]Integrated outward, then continued as a straight ray above the model atmosphere.
05 · DIRECT-LIGHT TRANSMISSIONTλ = e⁻ᵐτλ · τλ = τ₅₅₀(550/λ)¹·³m(h) = 1/[sin h + 0.50572(h + 6.07995)⁻¹·⁶³⁶⁴]Illustrative Beer–Lambert attenuation; Kasten–Young airmass, h in degrees, capped at 30.

What is textbook

Earth’s mean radius, standard gravity, dry-air dispersion coefficients, the three representative visible wavelengths, and the approximate 34-arcminute horizon-refraction benchmark.

What is illustrative

Pressure and temperature are treated as surface inputs. A single exponential scale height represents the whole atmosphere. Aerosol extinction uses a simple wavelength power law and a standard airmass approximation.

What is simplified

The model omits humidity, real temperature inversions, turbulence, clouds, detailed scattering into the line of sight, terrain, waves and the finite solar spectrum. It demonstrates chromatic refraction; it does not predict whether a real green flash will occur or how long it will last.

An educational physics model; not a weather forecast or an optical observing instrument.

Made with 🤖 ChatGPT