public
Description: A wrapper for Processing in Clojure.
Homepage:
Clone URL: git://github.com/rosado/clj-processing.git
name age message
file CPL.TXT Mon Sep 08 10:39:56 -0700 2008 Added CPL license file. [rosado]
file README.markdown Wed Apr 01 14:46:39 -0700 2009 Added COMMON ISSUES - add-classpath problem [rosado]
file build.xml Mon Sep 08 12:01:11 -0700 2008 separated processig into its own project [rosado]
directory examples/ Sun Mar 29 11:34:15 -0700 2009 Removed unused imports [rosado]
directory rosado/ Sun Dec 28 06:34:05 -0800 2008 Added with-rotation, with-translation [rosado]

Processing for Clojure

This lib is a wrapper for the Processing project. Mixture of Clojure and Processing enables you to do live-coding and experiment easily.

Most of the function are covered; some have a slightly different name than in Java (partly because Clojure is confused by methods of the same arity but different argument types). Most of the constants are accessible.

How To Use It?

Add your core.jar file from the Processing installation to your CLASSPATH (you can do it in Clojure with add-classpath).

Then, create a JAR by running ant and also add the resulting file to your CLASSPATH.

Examples

The examples directory contains a simple script to get you going.

COMMON ISSUES

clj-procesing may not work if you're using add-classpath to put the Processing jars into your CLASSPATH. Please, use a "proper" way to set up your CLASSPATH (eg. with a special script like the clj on Clojure Wiki)

TODO

  • docstrings
  • include remaining constants