Skip to content

Instantly share code, notes, and snippets.

@StefKors
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StefKors/7a46977de60bcb922d49 to your computer and use it in GitHub Desktop.
Save StefKors/7a46977de60bcb922d49 to your computer and use it in GitHub Desktop.
Draw circles with Processing
int diameter = 10;
void setup(){
size(200,200);
smooth();
background (200,200,200);
frameRate(20);
}
void draw(){
ellipse(width/2, height/2, diameter, diameter);
diameter += 1;
println(diameter);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment