This project is an OpenGL-based simulation for visualizing both N-body gravitational interactions and spring dynamics. The project is built using C++ and the OpenGL library.
- Simulates the gravitational interactions between multiple celestial bodies.
- Real-time 3D visualization.
- User can free roam around the simulation environment.
- Simulates the oscillatory motion of a spring-mass system.
- Real-time controls for changing physical parameters.
- Real-time 3D visualization.
- C++ Compiler
- OpenGL
- GLFW
- GLAD
- GLM
- Clone the repository
- Compile and run the project
- Download the release file and run the executable.
- Arrow Up: Increase amplitude
- Arrow Down: Decrease amplitude
- Arrow Left: Decrease frequency
- Arrow Right: Increase frequency
- A/D: Decrease/Increase stiffness
- W/S: Decrease/Increase damping
- E/Q: Decrease/Increase target amplitude
- T/P: Decrease/Increase time modulation
- F/G: Decrease/Increase force scale
- F11: Toggle fullscreen
- Free roam (no specific controls).
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Special thanks to OpenGL and GLFW community for the valuable resources.
