Afterglowscreensavers

The Moon Tonight Screensaver

The Moon Tonight screensaver shows the Moon at its real phase for the current date, with the libration that makes it appear to nod and rock over a month. It runs in the browser with nothing to install; press ESC to exit.

Live preview

Press ESC to leave fullscreen. Settings are saved in your browser only.

How the The Moon Tonight screensaver works

The saver renders with three.js on your GPU. The library is vendored into this site rather than fetched from a CDN, and loads only when a 3D screensaver actually runs.

It reads nothing external — phase and libration are computed in the browser from the date.

The scene resizes with the window and releases its WebGL context when the saver stops, so shuffle mode and Multi-view can cycle 3D savers without exhausting the browser's context limit.

If WebGL is unavailable the saver says so on screen rather than showing an empty black box.

A worked example

Phase comes from the days elapsed since a known new moon against the 29.53-day synodic month, and drives the light direction. Libration is the subtler part: the orbit is elliptical and inclined, so the Moon appears to rock in longitude on a 27.55-day cycle and nod in latitude on a 27.21-day one. Over a full month those two together reveal about 59 per cent of the surface rather than the 50 per cent that tidal locking suggests.

Settings & tips

Frequently asked questions

What is libration?
The apparent rocking of the Moon. It keeps one face toward us on average, but because it moves at varying speed along an elliptical orbit while rotating at a constant rate, we see slightly around each limb in turn.
Is the surface a real map?
No — the relief is generated with layered noise so the terminator has genuine texture to catch the light. The phase and libration are computed properly; the craters are not a lunar map.
Does this need a special browser or plugin?
No. It uses WebGL, which every current desktop and mobile browser supports. Nothing is installed and no plugin is required.
Does it cost anything or need an account?
No. Every screensaver here is free, runs in the browser and needs no sign-up.

← All Space & Astronomy screensavers