Created
July 4, 2018 12:18
-
-
Save tai-cha/36bdb39a08625e3d40fbe8ec951c5f6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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