by Collin Sinclair and Brandon Korb (collectively, Snorto - see option 10 in the menu ;) )
More info here.
Welcome to my new-and-improved N-Body Simulation application! This command line-based app will walk you through selecting a customizing an N-body simulation of any of the following varieties:
- Sun-Earth System
- Sun-Earth-Moon System
- Kepler-16A Circumbinary Planet System
- Random Cube of Bodies
- Uniform Cube of Bodies
- Pythagorean System (3-4-5 triangle)
- Figure 8
- Planetesimal Disk
- Tiny Star Cluster
Once the user provides input for all customizable values, the program will generate, save, and display an animation of the system.
Clone the repo to your device and navigate to its directory. First, to ensure that the simulation has all of the resources needed to run, use pip3 install -r requirements.txt
or equivalent. It is also necessary to install ffmpeg to create the animation. Then, simply run python3 main.py
and have fun!