I thought I would share this little writeup on a project I'm quite proud of. The code can be found on GitHub [0]. This article is mostly about the implementation of the simulation in Haskell. I've also written another article [1] on the physics of the simulation. It should be approachable even for those without any general relativity background.
[0] https://github.com/flannelhead/blackstar
[1] https://flannelhead.github.io/posts/2016-03-06-photons-and-b...