xxxxxxxxxx
17
function setup() {
createCanvas(400, 400);
}
function draw() {
background(245, 66, 120);
strokeWeight(random(0,2));
stroke(random(255), 50, random(255));
for (let x=mouseX; x<=width; x+=20) {
for (let y=mouseY; y<=height; y+=20) {
fill(random(255), 0, random(255), 50);
triangle(x, y ,200 ,200, 300, 300);
frameRate(6);
}
}
}