Created
November 21, 2013 17:34
-
-
Save krisajenkins/7586027 to your computer and use it in GitHub Desktop.
Simple Quil
This file contains 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
(defn setup [] | |
(smooth) | |
(frame-rate 3) | |
(background 200)) | |
(defn draw [] | |
(fill (random 255)) | |
(ellipse (random (quil/width)) | |
(random (quil/height)) | |
(random 100) | |
(random 100))) | |
(defsketch example | |
:title "Ellipses are great" | |
:setup setup | |
:draw draw | |
:size [400 400]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment