Presets
Playback
Place on Earth
Southern latitudes flip the sky: the south pole rises instead of Polaris.
Date and time
Time is UT at the longitude you choose (no time zones).
Sky and highlighted star
The pink ring marks the highlighted star.
Actions
Camera
Quality
Layers
Model checks
The science
What a planetarium dome shows
A planetarium projects the sky an observer would see at one place and moment. Each star has fixed equatorial coordinates, right ascension RA and declination Dec (J2000), which do not depend on where you stand. The dome shows them in local coordinates: altitude above the horizon and azimuth from north through east. The link between the two is the local sidereal time LST, the right ascension that is crossing your meridian right now.
The coordinate transformation
The hour angle of a star is H = LST - RA. For latitude phi the altitude follows from sin(alt) = sin(Dec) sin(phi) + cos(Dec) cos(phi) cos(H), and the azimuth from az = atan2(-cos(Dec) sin(H), sin(Dec) cos(phi) - cos(Dec) sin(phi) cos(H)). Sidereal time comes from the Greenwich value GMST = 280.46061837 + 360.98564736629 d degrees (d = days since J2000.0) plus the longitude. The factor 360.9856 instead of 360 is why the stars come back to the same place 3 min 56 s earlier each night: a sidereal day is 23 h 56 m 04.09 s.
The sun and twilight
The sun is computed with the low-precision series from the Astronomical Almanac (mean longitude, mean anomaly, equation of centre, obliquity 23.44 degrees), accurate to about 0.01 degrees. Its altitude defines the sky: day above 0, civil twilight down to -6, nautical to -12, astronomical to -18, then night. The page models the faintest visible star as falling smoothly from daylight to your dark-site limit as the sun sinks. The day length is the sunrise equation cos H0 = (sin(-0.833) - sin(phi) sin(Dec)) / (cos(phi) cos(Dec)); the -0.833 degrees accounts for atmospheric refraction and the radius of the solar disc.
The three checks
(1) Polaris is 0.74 degrees from the north celestial pole, so its altitude must stay within that of the latitude at any hour. (2) The model is searched for the moment Sirius is highest on two consecutive nights; the gap must equal the sidereal day, 86164.09 s. (3) The day length found by bisecting the sun's altitude through -0.833 degrees must match the closed-form sunrise equation. They test the transformation, the sidereal clock and the solar series separately.
Simplifications
The star list holds 48 well-known bright stars with J2000 coordinates and magnitudes; proper motion and precession over 26 years (up to about 0.4 degrees) are ignored. The fainter background is a random, illustrative field, not a catalogue. Atmospheric refraction, the moon, planets, the Milky Way and light pollution are not modelled, and time is UT at the chosen longitude (no time zones or daylight saving). Educational astronomy, not a navigation tool.
The theatre
The projector axis points at the north celestial pole, so it is tilted by 90 degrees minus your latitude and turns once per sidereal day; the stars on the dome are placed by the same equations as the chart. The dome is a Blender model (dome shell, ribs, seats, console, projector with 28 lens barrels); the sky, stars, grids and sun are drawn by the page every frame.
What to try
- Pick "Sunset: watch the stars come out" and press play: as the sun passes -6, -12 and -18 degrees the faint stars appear (graph 4).
- Choose "Equator at the equinox" and highlight Polaris: it sits on the horizon, and the day length graph is a flat 12 h line.
- Drag the latitude to 89 N in December: the sun never rises (graph 1 stays below zero), while the stars circle without setting.
- Switch on the equatorial grid and set the clock speed to 20000: the whole grid rotates about the celestial pole once per sidereal day.
- Compare Sydney with London: the Southern Cross is circumpolar in the south and never rises in the UK.