xxxxxxxxxx
function setup() {
createCanvas(600, 600);
}
function draw() {
background(0);
fill(mouseX / 5 + 100, mouseY / 10 + 100);
for (var x = 50; x <= width-50; x = x + 50) {
for (var y = 50; y <= height-50; y = y + 50) {
strokeWeight(random(20))
stroke(255,mouseX/10);
line(x,y,width/2,height/2);
stroke(0,mouseX/10)
strokeWeight(3);
ellipse(x, y, mouseX / 5, mouseY / 5)
noStroke();
}
}
}