Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Everheartt committed Jun 7, 2020
1 parent a70c5db commit 26a4812
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Orbit simulator
Python program using the 2nd law of Newton to simulate in real time gravitational interactions between two or more celestial bodies with a decicated UI. This program is our work for our informatic class final project.
## Operating process
For each frame, the system compute the position of each object in the next frame considering a movement vector to which the variation of the speed vector has been added considering the following formulas : <br>
For each frame, the system computes the position of each object in the next frame considering a movement vector to which the variation of the speed vector has been added considering the following formulas : <br>
![Newton 2nd Law](https://wikimedia.org/api/rest_v1/media/math/render/svg/ce5a34efdcbe454a69e8b879e0005c809b0439ee) <br>
![acceleration formula](https://wikimedia.org/api/rest_v1/media/math/render/svg/941bc4c58dbc6f6716ce1d0024ff29e2ee82a0c9)

## Installation
### Windows
This guide was tested on Windows 10
1. Install the latest release [here](https://github.com/jupiter2653/orbit-simulator/releases/latest) or clone this repository with git. *If you want to, you can also clone this repository but the content might not be production ready*
1. Install the latest release [here](https://github.com/jupiter2653/orbit-simulator/releases/latest).
*If you want to, you can also clone this repository but the content might not be production ready.*
2. Extract all the files from the compressed folder.
3. Install the dependencies by typing ``py -m pip install -r requirements.txt`` in the directory in which you exctracted the files
3. Install the dependencies by typing ``py -m pip install -r requirements.txt`` in the directory in which you exctracted the files.
4. Launch ``main.py``.
5. Enjoy !

Expand Down

0 comments on commit 26a4812

Please sign in to comment.