Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
int x, y;
int numberofcircles = 4000;
void setup() {
size(4000, 4000);
background(0);
ellipseMode(CENTER);
//strokeWeight(0);
noStroke();
fill(181,209,255,30);
smooth();
noLoop();
}
void draw()
{
for (int i = 0; i < numberofcircles; i++) {
strokeWeight(0);
int size = int(random(100,200));
x = int(random(width));
y = int(random(height));
ellipse(x,y, size, size);
}
save("circlesgalore1.png");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.