xxxxxxxxxx
color bgcolor = color(0,0,0);
float p = 0;
void setup(){
fullScreen();
stroke(255,0,255);
background(0);
}
float pd =3/2 ;r=5;
float ps = PI/pd;
void draw(){
translate(width/2,height/2);
for (int i =0;i<pd*2;i++){
fill(0,0,0,100);
rect(-10,-10-width+10,height+10);
p+=ps;
stroke(p,0,255-p/5);
line(sin(p)*r,cos(p)*r, sin(p+ps)*(r),cos(p+ps)*(r));}
r+=10;
}
void keyReleased(){
//background(bgcolor);
}