commit
This commit is contained in:
parent
40871f7cd5
commit
ab87078b21
3 changed files with 21 additions and 0 deletions
15
README.md
Normal file
15
README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Simple Gravity Simulator in Python
|
||||
|
||||
This is a simple gravity simulator written in Python. It uses the Tkinter library to display the simulation and the Universal Gravitation formula to calculate the forces between the objects.
|
||||
|
||||
## How to use
|
||||
|
||||
- add or remove objects by modifying the code in `main.py`
|
||||
- `python main.py` to run the simulation
|
||||
- you can accelerate the simulation with the first slider
|
||||
- you can change the scale of the simulation with the second slider
|
||||
- you can change the frame rate of the simulation with the third slider
|
||||
|
||||
## Example
|
||||
|
||||

|
Loading…
Add table
Add a link
Reference in a new issue