Skip to content

Instantly share code, notes, and snippets.

@lmccart
Created November 5, 2015 19:53
Show Gist options
  • Save lmccart/6e478880b914e1e26623 to your computer and use it in GitHub Desktop.
Save lmccart/6e478880b914e1e26623 to your computer and use it in GitHub Desktop.
function setup() {
createCanvas(600, 600)
noFill();
stroke(255);
}
function draw() {
background(0, 10);
var w = sin(0.005*frameCount)*500;
var h = sin(0.001*frameCount)*500;
ellipse(width/2, height/2, w, h)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment