to -6 deg civilto -12 nauticalto -18 astronomicalnight
Couldn't start the 3D scene.

Twilight Length by Latitude and Season: Civil, Nautical and Astronomical Dusk, White Nights and the Midnight Sun (3D)

Why does dusk last 20 minutes at the equator, over an hour in London and the whole night in Oslo in June? The sun's centre crosses elevation h where cos H = (sin h - sin(phi) sin(delta)) / (cos(phi) cos(delta)); twilight is the time it spends between the sunset level (-0.833 deg with refraction) and -6 deg (civil), -12 deg (nautical) or -18 deg (astronomical). Declination and the equation of time come from Kepler's equation for your axial tilt and orbital eccentricity. Spin a Blender-modelled globe through the day and year: a shader shell paints the live bands of sun elevation (daylight, civil, nautical, astronomical twilight, night) on the sphere. Set the latitude, date, tilt (0 to 90 deg, Mars- or Uranus-like) and eccentricity; read sunrise, sunset, day length, the three twilights and the length of true darkness, with four live graphs. Real equations, 43 numerical checks incl. time-marching brute force, a 600000-point Monte Carlo, an equal-area globe sampling (4.5 % of any planet is in civil twilight at any time), critical latitudes 90 + h - epsilon and the published 16 h 38 min London day. Stylised continents; sky brightness is not modelled.

Made with 🟠 Blender · Three.js