Twilight Length by Latitude and Season: Civil, Nautical and Astronomical Dusk, White Nights and the Midnight Sun (2D)
The same model as a flat map: an equirectangular world map centred on your meridian is painted pixel by pixel with the sun's elevation (daylight, civil, nautical, astronomical twilight, night), with the sub-solar point, tropics and polar circles, the local clock along the top and the Blender globe showing the tilt. Below it a calendar of twilight length by day and latitude shows where and when twilight lasts all night or the sun never sets. Click or drag either view to set latitude and date. Same controls and checks as the 3D version, plus a map-scan check of the terminator longitude.
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.
The same model as a flat map: an equirectangular world map centred on your meridian is painted pixel by pixel with the sun's elevation (daylight, civil, nautical, astronomical twilight, night), with the sub-solar point, tropics and polar circles, the local clock along the top and the Blender globe showing the tilt. Below it a calendar of twilight length by day and latitude shows where and when twilight lasts all night or the sun never sets. Click or drag either view to set latitude and date. Same controls and checks as the 3D version, plus a map-scan check of the terminator longitude.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install