Trapunto is a "live" Clojure/ClojureScript/Quil/Processing image generation client & server. Write code that resembles Clojure and Quil on the left, get a rendered image on the right in a decent amount of time. Something like that.
This project was built during Hacker School and was inspired by Chris Granger and Bret Victor.
Why Trapunto? It's a method of quilting, and thus acts as a metaphor for this type of image creation, as well as being a pun on the library Quil that is being used.
After cloning the repository, run
lein deps
to install dependencieslein cljsbuild once
to build the ClojureScript stufflein ring server
to build and run the Clojure server
Check out Quil and Processing for functions to use, example sketches, fun ideas, and all sorts of cool stuff.
Roughly in order of importance:
- Clojail for safe code execution
- Better (or any) error messages to the client
- Websockets instead of polling
- Better design in general
- Ability to save and display images, as well as the code associated with them
- Image uploading to use patterns in the program
- Ability to define functions for recurring patterns which could be used by others
Copyright (C) 2012 oskarth & S714726
Distributed under the Eclipse Public License, the same as Clojure.