Astrophysics/README.md
2023-08-04 10:39:16 +02:00

20 lines
853 B
Markdown

### Introduction
This personal project is for making some simulator in C for the understanding of the Astrophysics, like the gravity.
I use the library SDL2 for the graphics.
FYI, I am not an expert in astrophysics, it's not my field, but just a hobby. If you find some wrong maths calculation, please, let me know.
### Installation
For executing the code, you must install these packages:
```
apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev
```
### Configuration
The `gravity.yml` file contains all data for the physics laws, like the gravity or the data of the planet. You can change these datas and you can see hoz the gravity.
### Projectile
For understanding the gravity, we can simulate the launch of a projectile and to see what happens. We can play with that and change some informations regarding the projectile and the planet.