https://github.com/marcusbuffett/opengl_gravity_sim
A gravity simulation using OpenGL and Haskell
https://github.com/marcusbuffett/opengl_gravity_sim
Last synced: 9 months ago
JSON representation
A gravity simulation using OpenGL and Haskell
- Host: GitHub
- URL: https://github.com/marcusbuffett/opengl_gravity_sim
- Owner: marcusbuffett
- License: other
- Created: 2015-12-20T20:03:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-20T20:28:54.000Z (over 10 years ago)
- Last Synced: 2024-05-01T13:08:24.524Z (about 2 years ago)
- Language: Haskell
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opengl_gravity_sim
A gravity simulation using OpenGL and Haskell
Here's what the program looks like :

# Method
I used the [Velocity Verlet](https://en.wikipedia.org/wiki/Verlet_integration#Velocity_Verlet) method to update the bodies.