Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcusbuffett/opengl_gravity_sim
A gravity simulation using OpenGL and Haskell
https://github.com/marcusbuffett/opengl_gravity_sim
Last synced: 25 days 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-20T20:28:54.000Z (about 9 years ago)
- Last Synced: 2024-05-01T13:08:24.524Z (8 months 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 HaskellHere's what the program looks like :
![output](http://i.imgur.com/hmxh6om.gif)
# Method
I used the [Velocity Verlet](https://en.wikipedia.org/wiki/Verlet_integration#Velocity_Verlet) method to update the bodies.