Skip to content

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quil-party

Doodling with the Quil library in Clojure

Crop Circles 2025

Usage

New sketch generation

Use the generation script: bin/new.sh --name "3d fern"

Playing with existing sketches

  • 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

troubleshooting

axidraw isn't drawing anything

  • 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

Waveforms 2025

About

doodling with clojure

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages