Skip to content

Instantly share code, notes, and snippets.

@claytical
Created January 20, 2016 16:37
Show Gist options
  • Save claytical/f4c2ca724cc8bde96bbb to your computer and use it in GitHub Desktop.
Save claytical/f4c2ca724cc8bde96bbb to your computer and use it in GitHub Desktop.
Frame Count
var r = 400;
function setup() {
createCanvas(400,400);
}
function draw() {
background(0,0,0);
var r = 50 + (frameCount%30);
ellipse(width/2, height/2, r, r);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment