colinrmitchell.com

Blog

Gravity simulation in Haskell

Posted Wednesday, December 9th 2015 in Programming - Permalink

I have written a gravity simulator in Haskell. The language made it super easy to implement the physics. I also used a binding to the OpenGL library to render the graphics. That part turned out to be the most difficult aspect of the program.

Below is a video demonstrating the program.


List Posts Newest Posts Page 1Next Page