A demo written in Haskell using OpenGL that allows the user to view a fish tank at various angles. There are several kinds of fish inside, showing various relationships based on the "Boids" paper, including: flocking, predator/prey, mating, and feeding. The user may use the mouse to alter the viewing angle, the mousewheel to zoom, or may right-click to access a context menu which offers options such as "Add Food" or "Kill a Boid". There is also an option for anaglyphic 3D output (using red-blue glasses).
ghc, hopengl including OpenGL, OpenGLRaw, GLU, and GLUT, libjpeg, hcullide, and haskell-quaternion.
BSD3
Matthew Danish
You can download this project in either zip or tar formats.
You can also clone the project with Git by running:
$ git clone git://github.com/mrd/fishtank