float x,y,R,angulo;
void setup(){
  fullScreen();
  background(0);
  smooth();
  x=0;
  y=(height/2)-R;
  R=500;
  angulo=0;
}
void draw(){
  noStroke();
  fill(0,20);
  rect(0,0,width,height);
  stroke(238,130,238);
  strokeWeight(10);
 point(width/2,height/2);
 strokeWeight(5);
 line(width/2,height/2,x,y);
 x=width/2+R*cos(angulo);
 y=height/2+R*sin(angulo);
 angulo=angulo+0.005;
}