Contact

How This Was Built

Most of my mapping work focuses on Earth, whether that's land use analysis, infrastructure planning, or regulatory compliance. For today's "Out of This World" challenge, I wanted to push Mapbox GL JS beyond its typical boundaries by rendering actual lunar imagery as an interactive 3D globe.

The tiles come from NASA's Lunar Reconnaissance Orbiter Camera (LROC), specifically the Wide Angle Camera mosaic hosted on NASA Trek. This is real imagery captured by the LRO spacecraft as it orbits the Moon. By feeding these tiles into Mapbox's globe projection, we get a surprisingly smooth experience for planetary visualization.

The interesting technical challenge was that Mapbox expects Earth coordinates, so the Moon's surface is mapped using the same lat/lon system we use here. Apollo 11's landing site at Mare Tranquillitatis becomes coordinates you can fly to, just like any city on Earth. The auto-rotation uses requestAnimationFrame for smooth performance, and pauses automatically when you interact with the globe so you can explore at your own pace.

It's a good reminder that web mapping tools are more flexible than their primary use cases suggest. The same libraries we use for county boundaries and infrastructure networks can handle planetary data when you know where to find the tiles.

Out of This World

Lunar Globe Visualization

Interactive 3D globe of Earth's Moon using lunar orthographic imagery. Explore crater formations, mare (lunar seas), and historic Apollo landing sites. The Moon is Earth's only natural satellite, formed approximately 4.5 billion years ago.

1,737 Radius (km)
27.3 Earth Days/Orbit
-173°C Night Temp

Notable Features

Apollo Missions

Six successful lunar landings (1969-1972)

NASA Apollo Program

Globe Animation

Data Source

Lunar Reconnaissance Orbiter Camera (LROC) Wide Angle Camera (WAC) Global Morphology Mosaic

NASA Moon Trek | LROC @ ASU

Technologies

  • Mapbox GL JS v3
  • Globe Projection
  • NASA Trek Tile Service
MOON