[Haskell-cafe] Looking for final year project - using Haskell, or another functional language

Claus Reinke claus.reinke at talk21.com
Sat Jul 14 18:07:47 EDT 2007


> Can someone post either a simple Hopengl example or a link to one please?
> (Something that displays a triangle or two, preferably rotatign slowly,
> ideally rotating when you move the mouse).

in addition to HOpenGL, check out the GLUT binding as well
(same mailing list):

    http://darcs.haskell.org/packages/GLUT/

    http://www.haskell.org/ghc/docs/latest/html/libraries/GLUT/Graphics-UI-GLUT.html

in particular, Sven made sure to fill the examples directory
(just below GLUT/) with lots of examples, including those from 
the red book (comparing the original examples for an opengl 
feature with the haskell version is a good way to familiarize 
oneself with the few differences and many commonalities).

claus



More information about the Haskell-Cafe mailing list