xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
noLoop();
}
function draw() {
background(0, 7);
translate(width / 2, height / 2);
for (i = 0; i = 100; i++) {
let l = millis() / 1000;
let l1 = millis() / 1500;
let l2 = millis() / 2000;
noFill();
stroke(255);
push();
rotate(l);
rect(0, 0, 300, 1);
pop();
push();
rotate(l1);
rect(0, 0, 150, 1);
pop();
push();
rotate(l2);
rect(0, 0, 75, 1);
pop();
}
}