MyNixOS website logo
Description

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:

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.

Metadata

Version

1.2.0.2

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows