A C++ physics simulation that models gravitational interactions between celestial bodies.
- N-body gravitational simulation
- Real-time visualization
- Configurable physical parameters
- CMake 3.15+
- C++20 compatible compiler
# Run the batch file
setup.bat
[ Note: You only need to do this once ]
After that you can continue:
# Debug configuration
cmake --preset windows64-VS-Debug && cmake --build build/windows64-VS-Debug
# Release configuration
cmake --preset windows64-VS-Release && cmake --build build/windows64-VS-Release
cmake --preset windows64-GCC-Debug && cmake --build build/windows64-GCC-Debug
Pull requests are welcome. Please open an issue first to discuss proposed changes.
"We are all in the gutter, but some of us are looking at the stars." - Oscar Wilde
Thank you for using Gravity Simulator! ❤️