let speed = 10;
let angle = 0.0;
let r = 200;
function setup(){
createCanvas(600,600);
colorMode(HSB,360,100,100,1);
smooth();
}
function draw(){
stroke(random(360),300,300)
let z = width/2 + cos(angle)*(r-angle);
let c = height/2 + sin(angle)*(r-angle);
ellipse(width/2,height/2,z,c);
angle +=6;
stroke(2);
strokeWeight(4);
let a =random(100,280);
let d =width/2 + cos(radians(angle))*a;
let s =height/2 + sin(radians(angle))*a;
line(300,300,d,s);
stroke(255);
let x = width/2 + cos(angle)*(r-angle);
let y = height/2 + sin(angle)*(r-angle);
line(width/2,height/2,x,y);
angle +=0.01;
}
console