grav.mp4
N-body gravity simulator using C++, EnTT, SFML, CMake, Quill, Eigen, and Conan
If you are using vscode, you can copy the .vscode_recommended
folder to .vscode
and use those (as defaults or as-is) to build.
Or, you can build and install with
conan install . -of . --build=missing
source build/Release/generators/conanbuild.sh
cmake --preset conan-release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build --preset conan-release --parallel
Then run with ./build/Release/grav
.
Feel free to open an issue (feature requests, bugs, or bad code that needs to be cleaned up) or make a pull request!
If you want to make a pull request, please install pre-commit and run pre-commit install
in the directory prior to making your pull request (until CI is set up).