Chlor

From HaskellWiki
Revision as of 11:24, 14 January 2010 by Lenny222 (talk | contribs)
Jump to navigation Jump to search

Chlor is a highlevel Haskell vector graphics framework for non-interactive diagrams and charts.

Chlor tries to enable you to get things done:

  • Chlor is trivial to install. Many Haskell graphic libraries depend on bindings to non-Haskell libraries (like Cairo/Gtk, GD, OpenGL, etc.) which can be more or less troublesome to install on your system. Chlor avoids this trouble by being a pure Haskell framework.
  • Chlor provides a rich repository of reusable highlevel components.
  • Chlor can generate graphics in essential file formats (PDF, SVG, EPS, etc). Chlor is assumed to be only a small cog in your workstream. It tries to step out of your way by providing import and export facilities for open formats, for your post-processing needs.

Chlor is currently available from the code repository only.

Features

Chlor uses a top-down graphics model. You define a box and what objects to create within this box. These objects themselves can decide what to draw within their respective boxes, and so on.

Boxes

Shapes