← Iris

Sun elevation 45.0°
Atmosphere path 1.4×
Dominant wavelength 475 nm
Rayleigh Scattering
Scattering intensity ∝ 1/λ&sup4;
Blue light (450nm) scatters ~5.5× more than red (650nm)
At sunset, blue is scattered away; only red reaches your eyes
Presets
Sun position 50%
Atmosphere density 1.0

Why is the sky blue?

Sunlight entering the atmosphere collides with nitrogen and oxygen molecules. These molecules are much smaller than the wavelength of visible light, so they scatter it according to Rayleigh’s law: the intensity of scattering is proportional to 1/λ&sup4;, where λ is the wavelength. Blue light (around 450 nm) scatters roughly 5.5 times more intensely than red light (650 nm).

Why are sunsets red?

At sunset, sunlight travels through much more atmosphere to reach your eyes. The longer path means almost all the blue light has been scattered away before arrival. What remains is predominantly red and orange — the wavelengths that survive the long journey through the scattering medium.

The atmosphere density slider

Increasing atmosphere density simulates a thicker or denser atmosphere — like that of early Earth or another planet. Higher density means more scattering at every angle, intensifying colors at noon and shifting sunset colors further toward deep red.