Gloss is a vector graphics library for Haskell. It also abstracts displaying and animating, and handles events and game states.