Skip to content

Instantly share code, notes, and snippets.

@krisajenkins
Created November 21, 2013 17:34
Show Gist options
  • Save krisajenkins/7586027 to your computer and use it in GitHub Desktop.
Save krisajenkins/7586027 to your computer and use it in GitHub Desktop.
Simple Quil
(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