xxxxxxxxxx
18
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
strokeWeight(3);
stroke(255);
for(var x = 0; x <= mouseX; x += 40){
for(var y = 0; y <= height; y += 40){
fill(random(0, 255), 0, random(0, 255));
ellipse(x, y, 20);
}
}
}