let a = 0 let x = 0 let y = 0 let r = 100 function setup(){ createCanvas(300,300) smooth() noFill() } function draw(){ background(255,20) a++ x=r*cos(radians(a))+150 y=r*sin(radians(a))+150 ellipse(x,y,30,30) }