/live-processing

A Processing clone with livecode capabilities

Primary LanguageClojure

live-processing

Introduction

live-processing is a Processing clone with livecode capabilities.

It’s written in Clojure using clj-processing and for now supports just a small set of Processing functions.

With live-processing you don’t need to recompile Processing code every time. You can modify the code on-the-fly.

Prerequisites

To run live-processing you’ll need a Java runtime.

Installation

Fast way

To demo live-processing, just download and run the jar:

$ wget -c http://github.com/automata/live-processing/raw/live-processing.jar
$ java -jar live-processing.jar &

Try to edit the code and press Eval while it’s running!

Hacking

To hack the code, you’ll need Clojure and leiningen. To intall both:

$ cd /usr/local/bin
$ wget http://github.com/technomancy/leiningen/raw/stable/bin/lein
$ chmod +x lein
$ lein self-install

It’ll install leiningen that will self-install itself and other dependencies like Clojure itself.

Now download live-processing source code from the repos:

$ git clone git://github.com/automata/live-processing.git

And use leiningen to download all dependencies:

$ cd live-processing
$ lein deps

If you want to generate the uberjar (a jar containing all the dependencies), do:

$ lein uberjar

To execute the code on the REPL:

$ lein repl

Using

To start hacking on live-processing try enter some code on the editor. Then press the Eval button everytime you want to update the code.