larsXYZ/Gravity-Simulator
null
{ "createdAt": "2016-07-10T17:00:56Z", "defaultBranch": "master", "description": null, "fullName": "larsXYZ/Gravity-Simulator", "homepage": "https://www.youtube.com/channel/UCslIyA4_1rciR3loFI09pZQ", "language": "C++", "name": "Gravity-Simulator", "pushedAt": "2025-06-07T09:33:33Z", "stargazersCount": 109, "topics": [], "updatedAt": "2025-11-08T17:11:48Z", "url": "https://github.com/larsXYZ/Gravity-Simulator"}# Gravity Simulator
This is the source code for my gravity simulation project. I made it when first learning C++ / programming in university back in 2016. The code was terrible and filled with poor solutions to simple problems. During Christmas 2024 I revisited it and replaced some of the old bad solutions with new bad solutions.
You can see a trailer I made in 2016 here: https://youtu.be/2ksVjpxY5mI?si=pwDCNEDP6Kb8V7mD
Creating a solution
Section titled “Creating a solution”Gravity-Simulator uses the graphics library SFML 2.6.2 and the user interface library TGUI 1.7.0. It uses CMake for build management.
Built the solution with:
mkdir buildcd buildcmake ..To create an installer, run:
make_installer.bat