The Sun only ever lights up half of Earth at once. The sharp-ish line dividing the sunlit half from the dark half is called the terminator — it's the line of sunrise and sunset, sweeping around the planet as Earth spins. Scroll through to watch the terminator race across the continents, then see how Earth's 23.5° tilt bends that line over the poles to give us the midnight sun and the polar night.
Here is Earth seen from above the equator, with the Sun off to the right. The right half is in daylight, the left half in night, and the soft band between them is twilight — the terminator. Earth turns once every 24 hours, so the line is always on the move. Drag the slider to set the hour, or press Spin and watch the cities pass from dawn to noon to dusk to midnight.
Earth's spin axis is tipped 23.5° from straight-up. Seen side-on, that tips the whole planet relative to the incoming sunlight, so the terminator no longer slices cleanly through both poles. Near a solstice it cuts behind one pole entirely: that pole spins around in full sunlight all day (the midnight sun) while the other never leaves the dark (the polar night). Drag through the day of the year and watch the lit region creep over the top and bottom.
Three ideas tie it all together:
The two animations above are qualitative: real twilight is graded, and map outlines are stylised — but the geometry of the lit half, the sweeping terminator, and the tilt is faithful.