Clojure/ClojureScript library for creating interactive drawings and animations. Check out online sketch.

Have a nice sketch?


Clojure and ClojureScript
Sketches can be run from clojure or in a browser without modifications.
2D and 3D
Quil provides several renderers that allows to draw in 2D, 3D and even in PDF.
Based on Processing
More than 200 various drawing functions.
Live reloading
Modify sketches on fly without closing them.
Functional mode
Use pure functions to handle user interaction and state updates (fun-mode).
Enhance sketches by creating your own middleware or using built-in ones.

Getting started


  1. Create project: lein new quil my-sketch
  2. cd my-sketch
  3. Open src/my_sketch/core.clj, and evaluate it.


  1. Create project: lein new quil-cljs my-sketch
  2. cd my-sketch
  3. Build the project: lein cljsbuild once
  4. Open index.html

If you're new to Clojure check out this tutorial or tutorial for Light Table.

Documentation and articles