Skip to content

Instantly share code, notes, and snippets.

@leanda
Created June 8, 2017 10:28
Show Gist options
  • Save leanda/4b072467576d48d9b432ed048a115480 to your computer and use it in GitHub Desktop.
Save leanda/4b072467576d48d9b432ed048a115480 to your computer and use it in GitHub Desktop.
p5 Concentric Circles
function setup() {
createCanvas(600, 600);
}
function draw() {
background(255);
noFill();
for (var i=50; i<600; i+=100) {
ellipse(width/2, height/2, i, i);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment