Skip to content

Instantly share code, notes, and snippets.

@zackintosh
Last active December 15, 2015 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackintosh/5210558 to your computer and use it in GitHub Desktop.
Save zackintosh/5210558 to your computer and use it in GitHub Desktop.
Load and run the gen_art examples from the Quil Project (https://github.com/quil/quil)
; In the base quil folder
; lein deps
; lein compile
; lein repl
(def files (map clojure.java.io/as-relative-path (rest (file-seq (java.io.File. "./examples/gen_art"))))) ; Get all the gen_art examples
(def files ((fn [x] (println (first x)) (load-file (first x)) (rest x)) files)) ; Load and run the next example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment