← BACK TO SKY

LUNAR SKY

A real-time visualization of the sky as seen from the surface of the Moon. Every star, planet, and the Earth itself is plotted using actual orbital mechanics — not approximations or artistic impressions.

THE THREE LOCATIONS

Mare Orientale — Western Limb
Standing on the eastern rim of this massive impact basin, you are on the very edge of the Moon's Earth-facing side. The Earth sits permanently on the horizon, bobbing gently with lunar libration (±7° over 27 days). You experience a full day/night cycle: 14.75 days of sunlight, then 14.75 days of darkness lit only by earthshine. This is the “default” view because it offers the most dynamic scene — sunrise, sunset, earthshine, and a horizon-hugging Earth all in one frame.

Shackleton Crater — Lunar South Pole
NASA's Artemis III target. At 89.9°S, the crater floor is one of the coldest places in the solar system — permanently shadowed, never reached by direct sunlight. The sun barely skims the rim, while the Earth performs a slow “libration dance” on the horizon, rising and setting over the 27-day cycle. The ground is rendered near-black because that's what you'd actually see: darkness, with only faint earthshine occasionally illuminating the regolith.

Tranquility Base — Sea of Tranquility
The Apollo 11 landing site. From here, the Earth hangs at roughly 67° altitude — almost directly overhead, always in the same patch of sky. This view looks straight up at Earth with no horizon, framed by stars.

DESIGN CHOICES

DATA SOURCES & ATTRIBUTIONS

LUNAR SURFACE PANORAMA

The horizon panorama currently used at all locations is a photograph taken by Buzz Aldrin during the Apollo 11 mission at the Sea of Tranquility. It does not represent the actual surface at Shackleton Crater or Mare Orientale — no boots-on-the-ground photography exists for those locations. At Shackleton, the panorama is darkened to near-black to reflect the permanent shadow of the crater floor. At Mare Orientale, it cycles between lit and dark with the 29.5-day lunar day.

Location-accurate terrain panoramas are planned using NASA DUST (Shackleton) and LRO LOLA elevation data rendered in Blender (Orientale, Tranquility), once those assets are prepared.

WHAT'S REAL, WHAT'S NOT

TECHNICAL NOTES

Everything runs in the browser via HTML5 Canvas. The server (Flask on GCP e2-micro) only provides cached Horizons data and EPIC Earth images. No WebGL, no Three.js — just 2D canvas and math.

The lunar local sidereal time computation accounts for the Moon's synchronous rotation, converting Earth-centric RA/Dec coordinates into selenographic alt/azimuth. Earth's position is computed directly from selenographic geometry rather than the inverse-Moon approach, which is more accurate for limb and polar observers.

The Milky Way is rendered via per-pixel inverse projection: each screen pixel is reverse-projected to alt/az, converted to equatorial RA/Dec, then sampled from the ESO equirectangular panorama with bilinear interpolation. This ensures the galactic plane aligns correctly with the star catalog at all times and locations.