Simulation of the gravitational interaction of particles.
- Clone this repository:
git clone https://github.com/wlad031/n-body-simulation nbody
cd nbody/
- Install python dependencies:
pip install -r requirements.txt
- Install python-tk if it isn't installed:
sudo apt-get install python-tk
- Run application:
python run.py
Application configurations are stored in app/config.py file. You can see an example and write your parameters.