Skip to content

About

Earth–Moon N-body simulation of the Artemis II mission (LEO, high Earth orbit, TLI, free-return flyby) with a symplectic integrator and ±5 m/s burn-error branches. Vanilla JS.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Artemis II Flight Dynamics Simulator

An interactive, two-dimensional Earth–Moon mission simulator built with vanilla JavaScript and HTML Canvas. Explore a guided Artemis II-inspired flight or plan your own trans-lunar injection.

Launch the simulator

Explore

  • Follow a guided mission from Earth orbit through a lunar flyby and return.
  • Plan a burn by adjusting its ignition time and change in velocity.
  • Compare the planned trajectory with two trajectories using ±5 m/s burn-speed errors.
  • Inspect simulated altitude, velocity, orbital energy, and approximate time-dilation readouts.

Model and limits

The simulation uses a fixed Earth, an orbiting Moon, and a spacecraft affected by both bodies' Newtonian gravity. A velocity Verlet integrator advances the Moon and spacecraft with step sizes that change with proximity. The relativistic readouts use low-velocity and weak-field approximations relative to an idealized Earth-surface observer.

The guided trajectory and its markers are calculated by the simulator; they are not live NASA ephemeris data. This is an educational model inspired by Artemis II, not an official mission trajectory or validated flight software. No numerical accuracy guarantee is claimed.

Run locally

No installation or build step is required:

git clone https://github.com/dlowzzxx/artemis-ii-orbital-sim.git
cd artemis-ii-orbital-sim

Open index.html in a modern browser. The included audio files are used by the music controls; browser autoplay rules may require a click before sound starts.

Project structure

  • index.html — interface and controls
  • script.js — simulation, trajectory prediction, and interaction
  • style.css — visual presentation
  • Images and audio — assets used by the browser experience

Author

Erin Krasniqi. I built this project to make orbital mechanics more approachable through an interactive simulation.

License

MIT License - feel free to use the physics core for your own orbital projects.

About

Earth–Moon N-body simulation of the Artemis II mission (LEO, high Earth orbit, TLI, free-return flyby) with a symplectic integrator and ±5 m/s burn-error branches. Vanilla JS.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages