Skip to content
jaidevreddyPublic

About

Argo checks lunar landing sites against the real terrain horizon. Pick a site and a date to see if the solar panel gets sunlight and Earth is in view for radio, now and over the first 30 days. Sky chart, 3D terrain with true shadows, Compare and Nudge. Validated against NASA JPL Horizons to 0.0033°. NASA Space Apps 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Argo

Lunar Landing Site Navigator
Will the panel get sunlight, and will Earth be in view? For any site on the Moon, on any date.

Open the app · Watch the 30 s demo · NASA Space Apps Challenge 2026

Argo: Chandrayaan-3 landing site with Sun, Earth and power for the selected time

What it does

Near the lunar south pole the Sun stays within about 1.6° of a flat horizon, so a ridge a few kilometres away can decide whether a lander has power. Argo traces the real horizon around a site and tells you, at any moment and over the first 30 days after touchdown, whether the solar panel is lit and whether Earth is above the horizon for direct radio contact.

  • Landing sites: 20 sites, from south pole candidates (Shackleton rim, Connecting Ridge, de Gerlache rim, Malapert Massif) to Apollo, Chandrayaan-3, Chang'e, SLIM and Intuitive Machines. You can also type any latitude and longitude, or drop a pin on the globe.
  • At this moment: Sun and Earth elevation above the local horizon, panel power, Earth link, and time to the next sunset or Earthset.
  • Timeline: sunlight, Earth in view and both together across the landing window. Scrub it or play it.
  • Sky chart: the Sun and Earth tracks drawn over the site's horizon silhouette, with a table view of the exact angles.
  • 3D site: 20 × 20 km of LOLA terrain, lit from the Sun's true direction, with Earth where it really is.
  • Compare and Nudge: up to three sites or dates scored over 30 days. Nudge tests 16 spots within 2 km and landings up to 3 days earlier or later.
  • Validation: the engine checked against NASA JPL Horizons, inside the app.

Every scenario lives in the URL, so any result can be shared as a link.

How it works

Part Method
Sun and Earth positions astronomy-engine, IAU Moon rotation with libration, topocentric (parallax and observer height)
Horizon 720 azimuths every 0.5°, marched out to 200 km over LOLA elevation (40 m near the site, 240 m beyond), with lunar curvature
Visibility Sun and Earth treated as discs, so power scales with how much of the Sun clears the ridge
3D three.js shadow map over the baked tile, plus the far horizon for terrain beyond 10 km
Metrics 10-minute samples over 30 days: power + link hours, first unbroken window, longest dark

Validation: 110 JPL Horizons cases (DE441) at 9 sites and 6 dates. Largest error 0.0033°, mean 0.0021°. The Sun's radius is about 0.27°. The Apollo 11 landing moment matches Horizons to 0.001°.

The full maths is in docs/LOGIC.md, and the data sources are in docs/DATA.md.

Data

  • NASA LRO LOLA: polar elevation models LDEM_80S_40M, LDEM_75S_240M and LDEM_60S_60M (PDS)
  • SLDEM2015: LOLA + JAXA Kaguya, for sites away from the pole
  • NASA JPL Horizons: validation
  • NASA SVS CGI Moon Kit and Blue Marble: globe textures
  • NSSDC and LROC: landing site coordinates

Run it

npm install
npm run dev      # http://localhost:5173
npm test         # engine, metrics and URL tests (Vitest)
npm run build

Terrain and horizons are baked offline into public/data by python3 tools/bake.py. The raw LOLA files go in data-raw/, which is not committed.

Stack

  • App: TypeScript, React, Vite
  • 3D: three.js with React Three Fiber
  • Animation and state: GSAP, Zustand
  • Astronomy: astronomy-engine
  • Data baking: Python with NumPy and Pillow
  • Tests: Vitest
  • Hosting: Cloudflare Pages

Team

  • K Jaidev Shankar Reddy
  • Advik R Holalu

Credits

  • Wordmark font: Cyberwave 2000 by HipFonts.
  • Demo video: music "Got It" by Pryces, voiceover AI-generated with ElevenLabs.
  • AI tools: Claude (Anthropic) helped write code and text.

License

The code is open source under the MIT License. NASA data and images are public domain. The wordmark font and the demo music keep their own licences.


Argo      NASA Space Apps Challenge

Built for the 2026 NASA Space Apps Challenge · Lunar Landing Site Navigator

About

Argo checks lunar landing sites against the real terrain horizon. Pick a site and a date to see if the solar panel gets sunlight and Earth is in view for radio, now and over the first 30 days. Sky chart, 3D terrain with true shadows, Compare and Nudge. Validated against NASA JPL Horizons to 0.0033°. NASA Space Apps 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages