This Python project implements interactive 3D visualizations of:
- The proposed Near-Rectilinear Halo Orbit for the Lunar Gateway.
- As-flown trajectory of the Genesis probe
- Planned trajectory of the Lucy probe
- Planned trajectory of the JUICE probe
- As-flown trajectory of the James Webb Space Telescope
- As-flown trajectory of the Voyagers
- The launched Artemis II mission on its April 2026 free-return lunar trajectory
3D pan/tilt/zoom is supported via Plotly.
- Lunar Gateway (This works best in a desktop browser, in a maximized window, on a 16:9 monitor.)
- Genesis probe
- Lucy probe
- Juice probe:
- James Webb Space Telescope
- The Voyagers
- Artemis II, rotating frame
- Artemis II, frozen inertial frame
- Artemis II heliocentric inertial view
- Artemis II heliocentric animation
- Artemis II Earth-Sun rotating view
SPICE kernels that fit within Github's 100M size limit have been committed. Others will have to be downloaded from NASA or ESA.
artemis2.py also downloads an official JPL Horizons vector cache for the Artemis II spacecraft if it is not already present.
The currently public Artemis II spacecraft ephemeris begins after ICPS separation, so the initial Earth-orbit checkout phase before translunar injection is not shown.
Steps to use the scripts:
- Install dependencies (preferably in a virtual environment):
pip install -r requirements.txt- Run the script (plot will open in browser):
python <script>.pyTo write static HTML and, for the Lunar Gateway, the PNG preview (requires kaleido):
python <script>.py --static