xxxxxxxxxx
20
let angle = 90;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
translate(width/2,height/2);
stroke(255);
strokeWeight(3);
rotate(radians(angle / 3))
for(let i=0; i<280; i+=10) {
push();
rotate(radians(i) * cos(radians(angle)));
line(200 * sin(radians(angle)), 0, 0, 200);
pop();
}
angle+=1
}