A creative coding sketchbook using Clojure + Quil (Processing) for generative art and visual experimentation.
Use the generation script: bin/new.sh --name "3d fern"
- Jack-in using Leiningen
- sketches live in
./src/quil_party - Evaluate (q/defsketch) to open visualizer (shift ctrl opt)
- Mess around: update & eval code called by the draw loop, save svgs when it looks cool, etc
In order to call the functions directly in the REPL, they need to be wrapped with the current sketch:
(quil.applet/with-applet quil-party.basic-svg
(quil.core/no-loop)) ;; pause the draw loop
(quil.applet/with-applet quil-party.basic-svg
(quil.core/start-loop)) ;; restart the loop
- make sure you add a
stroke="black"attribute on the top level<g>in your svg - or figure out how to get q/create-graphics to do this



