processing: Web graphic applications with processing.js.
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:
Mill demo. Preview: http://daniel-diaz.github.io/projects/processing/mill.html. Code: https://github.com/Daniel-Diaz/processing/blob/master/examples/mill.hs.
Pacman demo. Preview: http://daniel-diaz.github.io/projects/processing/pacman.html. Code: https://github.com/Daniel-Diaz/processing/blob/master/examples/pacman.hs.
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:
https://github.com/Daniel-Diaz/processing/tree/master/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.
[Skip to Readme]
Modules
- 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
- Graphics.Web.Processing
- Web
Downloads
- processing-1.2.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0.0.0, 1.0.0.1, 1.0.1.0, 1.1.0.0, 1.2.0.0, 1.2.0.1, 1.2.0.2 |
---|---|
Dependencies | base (>=4 && <5), blaze-html (>=0.5.1), containers (>=0.5 && <0.6), directory (>=1.2 && <1.3), filepath (>=1.1.0.0 && <1.5), ghc-prim, mainland-pretty (>=0.2 && <0.5), multiset (>=0.2.2 && <0.3), QuickCheck, quickcheck-instances, template-haskell, text (>=0.11.2.3 && <2), transformers (>=0.3 && <0.6) [details] |
License | BSD-3-Clause |
Author | Daniel Díaz |
Maintainer | Daniel Díaz (dhelta.diaz `at` gmail.com) |
Category | Graphics |
Bug tracker | https://github.com/Daniel-Diaz/processing/issues |
Source repo | head: git clone git@github.com:Daniel-Diaz/processing.git |
Uploaded | by DanielDiaz at 2016-06-01T05:02:33Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 5203 total (2 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-11-24 [all 3 reports] |