Update random color and size

This commit is contained in:
Lev
2021-06-26 18:26:06 -05:00
parent 621ccc2d28
commit bae4e12969

View File

@ -11,7 +11,8 @@ function draw() {
var randX = random(0, width); var randX = random(0, width);
var randY = random(0, height); var randY = random(0, height);
fill(random(255), 0, 0, random(255)); fill(random(50, 255), random(50, 255), random(50, 255), random(255));
noStroke(); noStroke();
ellipse(randX, randY, 15, 15); let size = random(15, 25);
ellipse(randX, randY, size, size);
} }