xxxxxxxxxx
17
function setup() {
createCanvas(400, 400);
colorMode(HSB,100);
}
function draw() {
translate(width/2,height/2);
background(100);
for ( let i = 0 ; i < 1000 ; i++ ) {
push();
rotate(TAU*i/1000);
var c = color(i/10.0,100,100);
stroke(c);
line(0,0,100,0);
pop();
}
}