xxxxxxxxxx
25
function draw() {
frameRate(1);
createCanvas(700, 700);
background(230);
//fill(random(0,255),random(0,255),random(0,255));
noStroke();
let yPos;
let xPos;
let shaperandomizer;
if(mouseIsPressed){
for (yPos = 30; yPos < height; yPos=yPos + 40) {
for (xPos = 20; xPos<width; xPos=xPos + 40) {
fill(random(0,255),random(0,255),random(0,255));
circle(xPos,yPos, random (1,30));
}
}
}
}