Skip to content

Instantly share code, notes, and snippets.

@tai-cha
Created July 4, 2018 12:18
Show Gist options
  • Save tai-cha/36bdb39a08625e3d40fbe8ec951c5f6e to your computer and use it in GitHub Desktop.
Save tai-cha/36bdb39a08625e3d40fbe8ec951c5f6e to your computer and use it in GitHub Desktop.
int num_circle = 200;
void setup(){
size(720,720);
background(255);
noStroke();
}
int counter = 0;
void draw(){
if (counter < num_circle){
counter++;
int size = floor(random(40,91));
fill(floor(random(256)),floor(random(256)),floor(random(256)),floor(random(3,100)));
ellipse(floor(random(width)),floor(random(height)),size,size);
}else{
noLoop();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment