simulation of planets
- C 94.5%
- CMake 5.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| boldfont.ttf | ||
| CMakeLists.txt | ||
| font.ttf | ||
| main.c | ||
| readme-header.png | ||
| README.md | ||
| Screen-Recording.mp4 | ||
Planet Sim
A program that simulates gravity between planets and in the future will also simulates planet destruction.
Demo
Usage:
- Run the binary.
- Click new planet button.
- Give your planet a name, mass, diameter. Optionally set the velocity.
- Place the planet. click for no velocity and drag to give the planet velocity.
- To follow your planet click on it or click on it in the planet list.
Compilaton
cmake -S . -B build
cmake --build build
then run the executable in the build folder.
TODO:
- Improve collision
- Compilation instructions
AI usage
only AI in-line autocomplete was used.