https://github.com/youngermaster/celestial-object-interaction
This project make a simulator of the interaction of n (a natural number given) bodies in a 2D space.
https://github.com/youngermaster/celestial-object-interaction
Last synced: over 1 year ago
JSON representation
This project make a simulator of the interaction of n (a natural number given) bodies in a 2D space.
- Host: GitHub
- URL: https://github.com/youngermaster/celestial-object-interaction
- Owner: Youngermaster
- Created: 2019-10-26T19:10:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-14T13:26:06.000Z (about 6 years ago)
- Last Synced: 2025-01-27T09:28:38.930Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.81 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Celestial Body Interaction
This project make a simulator of the interaction of n (a natural number given) bodies in a 2D space.
## Preview

## How to execute it?
- Windows
python main.py
- Linux
python3 main.py
## `Core` flags
There are two boolean flags:
- `Logger`: prints useful data on the command line while is executing the program.
- `Trayectory`: shows the trayectory of all bodies.
- ### Code
from functions import *
if __name__ == "__main__":
core(True, True) # You can change these boolean flags