Skip to content

Instantly share code, notes, and snippets.

@wonderburg7
Created September 16, 2018 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wonderburg7/af8d86f46960ee645835735a597b66c4 to your computer and use it in GitHub Desktop.
Save wonderburg7/af8d86f46960ee645835735a597b66c4 to your computer and use it in GitHub Desktop.
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