Last active
December 15, 2015 05:39
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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