The processing package
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?
An example output can be reached at http://liibe.com/experimental/rocket.html. Also, take a look at http://liibe.com/experimental/mill.html. The code of the latter is included in the source distribution (/examples/mill.hs).
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.
The library provides different APIs (interfaces). Each one with a different philosophy.
Simple (Graphics.Web.Processing.Simple): An abstract interface, focusing in what you want to be displayed, but not how. The library will know how to write the processing code you need. However, you may lack some features that you can find in other interfaces.
Mid (Graphics.Web.Processing.Mid): More imperative feeling, with variables and commands. But also convenient and complete. This is the default interface, re-exported by Graphics.Web.Processing.
Basic (Graphics.Web.Processing.Basic): For people that like to do things by hand. The output processing code is predictable and you have great control over it.
The module Graphics.Web.Processing.Html helps you to create the HTML document where you will display the animation.
- No changelog available
|Versions||22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168|
|Dependencies||base (==4.*), blaze-html, containers, mainland-pretty, multiset, text, transformers|
|Maintainer||Daniel Díaz (dhelta.diaz `at` gmail.com)|
|Source repository||head: git clone firstname.lastname@example.org:Daniel-Diaz/processing.git|
|Upload date||Sun Aug 4 21:01:36 UTC 2013|
|Downloads||379 total (23 in last 30 days)|
- processing-22.214.171.124.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees