Solar System Simulation in C
This project was completed as part of the physics course at HEPIA.
It applies Newton’s laws to simulate a planetary system, allowing the exploration of gravitational interactions between a central star and several planets.
This simulation puts into practice concepts of physics and programming to realistically visualize orbital dynamics.
Features
- Real-time simulation of planetary orbits.
- Precise calculation of gravitational interactions according to Newton's laws.
- Simple and effective graphical visualization.
Screenshots
Simulation in action
Running the Program
To launch the simulation, follow these steps:
- Prerequisites: Make sure you have a C compiler (such as
gcc
) andmake
installed. - Clone the repository:
git clone git@github.com:ArianDervishaj/simulation-systeme-solaire.git
- Compile and run:
cd solar-system-simulation make main ./main