Version 18 (modified by Ben Lippmeier, 12 years ago) (diff)



Gloss hides the pain of drawing simple vector graphics behind a nice data type and a few display functions. Gloss uses OpenGL and GLUT under the hood, but you won't have to worry about any of that. Get something cool on the screen in under 10 minutes.

Gloss is a fork and cleanup of ANUPlot, which has been used for teaching first year computer science at the ANU for the last few years. Its main goal is to allow total beginners to get something working with a minimum of fuss.


From Hackage

With cabal

If you have cabal installed you should be able to do:

cabal update
cabal install gloss
cabal install gloss-examples

From the darcs repo

darcs get
cd gloss-head
cd library
runhaskell Setup configure --user
runhaskell Setup build 
runhaskell Setup install

Then again for the examples directory in that same repo.

Report a bug

If you have a bug or feature request, please add a new ticket.

You can also send email to


These are some of the examples included in the gloss-examples package:

Hello Lifespan Styrene Tree Clock Zen
code result code result code result code result code result code result

Attachments (6)

Download all attachments as: .zip