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: 9 months ago
JSON representation

A gravity simulation using OpenGL and Haskell

Awesome Lists containing this project

README

          

# opengl_gravity_sim
A gravity simulation using OpenGL and Haskell

Here'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.