float radius = 500.0;
void setup () {
size(1000, 1000);
background(255, 255, 255);
}
void draw () {
noStroke();
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(250, height/2, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(250, height/2, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(250, height/2, radius, radius);
delay(50);
noStroke();
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(500, height/2, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(500, height/2, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(500, height/2, radius, radius);
delay(50);
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(750, 500, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(750, 500, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(750, 500, radius, radius);
delay(50);
noStroke();
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(500, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(500, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(500, 250, radius, radius);
delay(50);
noStroke();
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(500, 500, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(500, 500, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(500, 500, radius, radius);
delay(50);
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(500, 750, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(500, 750, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(500, 750, radius, radius);
delay(50);
noStroke();
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(250, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(250, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(250, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(250, 750, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(250, 750, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(250, 750, radius, radius);
delay(50);
noStroke();
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(750, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(750, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(750, 250, radius, radius);
delay(50);
//background(255, 255, 255);
fill(239, int(65.0), 54);
radius = random(200.0);
ellipse(750, 750, radius, radius);
delay(50);
//background(255, 255, 255);
fill(178, int(235.0), 22);
radius = random(200.0);
ellipse(750, 750, radius, radius);
delay(50);
//background(255, 255, 255);
fill(0, int(88), 255);
radius = random(200.0);
ellipse(750, 750, radius, radius);
delay(50);
}
This code creates 6x6 ellipses…
However, it becomes very laggy