Presets
Playback
Date, light and camera
Options
Model checks
The science
What is modelled
The sun, the shadows it throws, the light a camera has to cope with and the haze that hides the skyline, for London at 51.5 N, 0.1 W. This page uses the same core.js and astro.js as the 3D photo quest, so numbers match, and draws them as a plan of shadows, a sun dome and four plots.
Equations
- Sun: declination
δ = 23.44° sin(360(N − 81)/365), equation of time, hour angleH = 15°(tsolar − 12), altitudesin a = sinφ sinδ + cosφ cosδ cos H. UK summer time shifts the clock by one hour between the last Sundays of March and October. - Shadow of a vertical object of height
h: lengthh / tan(a), pointing away from the sun (azimuth + 180°). - Exposure:
EV100 = log2(N²/t) − log2(ISO/100); the scene value islog2(E / 2.5)from the illuminance E of direct sun (Kasten-Young air mass) plus sky light, scaled by the weather. - Haze: Koschmieder,
β = 3.912 / V, contraste−β d; at the visibility distance V only 2 % of the contrast is left. - Colour temperature of sunlight rises from about 2900 K at the horizon to 6500 K high in the sky.
Checks run in the page
- Simplified sun against an independent Meeus-based implementation.
- Day length against Meeus sunrise and sunset.
- Shadow length by marching the sun ray down in 1 cm steps.
- Koschmieder contrast at distance V.
- EV invariance for equivalent aperture and shutter pairs.
Honest simplifications
Weather multipliers and the illuminance model are illustrative values, not measurements. The sun model is good to about a degree. Landmark positions and heights are the 3D scene values, the viewpoint is a notional South Bank spot, and the ground is flat. Landmarks appear only as geography; this is not affiliated with their owners.
What to try
- Press Midwinter midday and see the shadow of the 96 m tower stretch to about 360 m, then Midsummer midday and watch it shrink to about 51 m.
- Press Golden hour, September and read the shadow lengths as the sun slides through the amber band on the dome.
- Press Foggy winter morning: the landmark contrast figures on the plan fall with distance and the St Paul's dot on the last plot sits well below the 2 % line.
- Set the shutter until Exposure error reads good, then compare it with the metered shutter readout.