N-body gravity simulation to play with planet orbits, written in python using the arcade API.
Features:
- LMB: Drag and drop new planets into the simulation.
- MMB: Drag and drop particles into the simulation.
- D: Destroy the planets into particles.
- C: Destroy all particles.
conda env create --file environment.yml
conda activate orbit-sim
pip install numpy arcade pyglet
CD into the repository and run
python orbit-sim
- Custom gui elements:
- slider
- button
- fps counter
- planet counter
- Lifetime & destruction of particles
- set the particle mass to zero
- Fix history color bug
- Slider for mass of planet
- Save / load the situationa into a file
- Main Menu

