Rasterific: A pure haskell drawing engine.

[ bsd3, graphics, library ] [ Propose Tags ]

Rasterific is a vector drawing library (a rasterizer) implemented in pure haskell.

Can render vector graphics to an image and export vector data to PDF.

[Skip to Readme]


Automatic Flags

Embed a reduced version of Linear avoiding a (huge) dep


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5,,,, 0.5.1, 0.5.2,, 0.6, 0.6.1,, 0.7, 0.7.1,,,, 0.7.3, 0.7.4,,,,, 0.7.5,,,,
Change log changelog
Dependencies base (>=4.9 && <6), bytestring (>=0.10.2), containers (>=0.5), dlist (>=0.6), fail (>=4.9 && <4.10), FontyFruity (>= && <0.6), free (>=4.7), JuicyPixels (>=3.3.2), linear (>=1.3), mtl (>=1.9), primitive (>=0.5), semigroups (>=0.18 && <0.19), transformers, vector (>=0.9), vector-algorithms (>=0.3) [details]
License BSD-3-Clause
Author Vincent Berthoux
Maintainer twinside@gmail.com
Category Graphics
Source repo head: git clone git://github.com/Twinside/Rasterific.git
this: git clone git://github.com/Twinside/Rasterific.git(tag v0.7.5.3)
Uploaded by VincentBerthoux at 2021-05-26T21:28:13Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 5 direct, 34 indirect [details]
Downloads 28071 total (88 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-05-26 [all 1 reports]

Readme for Rasterific-

[back to package description]


Rasterific logo


Rasterific is a Haskell rasterization engine (a vectorial renderer) implemented on top of JuicyPixels. Rasterific bases its text rendering on FontyFruity.

Main capability

  • Draw vector graphics to an image.
  • Export graphics to PDF (since 0.6).


The renderer design is based on the Nile / Gezira renderer from the STEP project from the VPRI institute. The interesting thing about this renderer is the conciseness of it's implementation, providing antialiased rendering in the way.