The processing package

[Tags:bsd3, library]

Processing is a visual design programming language. Processing.js is the sister project of Processing designed for the web. The Haskell processing package is a web animation library with Processing.js as backend.

What is this for?

With this library you are able to write scripts that, once executed in a browser, will execute interactive visual programs.

Where can I see a running example?

Running examples are provided in the examples directory. These are some of the outputs:

The code of the latter is included in the source distribution.

How do I learn to use it?

The API reference of the library includes guidance and is complemented with code examples. Look also to the examples directory included in the source distribution. It contains some fully working examples. Also online at:

The library provides different APIs (interfaces). Each one with a different philosophy.

The module Graphics.Web.Processing.Html helps you to create the HTML document where you will display the animation.

[Skip to Readme]


Dependencies base (==4.*), blaze-html (>=0.5.1), containers (==0.5.*), directory (==1.2.*), filepath (>= && <1.5), ghc-prim, mainland-pretty (>=0.2 && <0.5), multiset (>=0.2.2 && <0.3), QuickCheck, quickcheck-instances, template-haskell, text (>= && <2), transformers (>=0.3 && <0.6) [details]
License BSD3
Author Daniel Díaz
Maintainer Daniel Díaz (dhelta.diaz `at`
Stability In development
Category Graphics
Bug tracker
Source repository head: git clone
Uploaded Wed Jun 1 05:02:33 UTC 2016 by DanielDiaz
Distributions NixOS:
Downloads 1188 total (13 in the last 30 days)
1 []
Status Docs not available [build log]
All reported builds failed as of 2016-06-01 [all 1 reports]


  • Graphics
    • Web
      • Graphics.Web.Processing
        • Graphics.Web.Processing.Basic
        • Core
          • Graphics.Web.Processing.Core.Interface
          • Graphics.Web.Processing.Core.Types
          • Graphics.Web.Processing.Core.Var
        • Graphics.Web.Processing.Html
        • Graphics.Web.Processing.Mid
          • Graphics.Web.Processing.Mid.CustomVar
        • Graphics.Web.Processing.Optimize
        • Graphics.Web.Processing.Simple


Maintainer's Corner

For package maintainers and hackage trustees

Readme for processing

Readme for processing-

Processing library

Web graphic applications with processing.js as backend.

Still in development!


Find examples of usage at the examples directory. The mill example looks like this.