xxxxxxxxxx
82
var a=0;
var b=0;
var c=0;
var d=400;
var e=0;
var f=0;
var g=0;
function setup() {
createCanvas(400,400);
stroke(255,255,255,0);
strokeWeight(3);
frameRate(60);
}
function draw() {
background(0,0,0,10);
one();
}
function one()
{
stroke(255,255,255,10);
ellipse(400,400,a,a);
ellipse(0,0,a,a);
ellipse(0,400,a,a);
ellipse(400,0,a,a);
line(200,200,200+f,200);
line(200,200,200-f,200);
line(200,200,200,200+f);
line(200,200,200,200-f);
line(200,200,200+g,200+g);
line(200,200,200-g,200-g);
line(200,200,200+g,200-g);
line(200,200,200-g,200+g);
a=a+3;
f=f+2;
g=g+1;
if(a>550)
{
fill(0,0,0,10);
stroke("white");
ellipse(200,200,b,b);
b=b+2;
if(b>200);
{
stroke("white")
line(200,0,200,c);
line(200,400,200,d);
line(0,200,c,200);
line(400,200,d,200);
line(0,0,c,c);
line(400,400,d,d);
line(0,400,c,d);
line(400,0,d,c);
c=c+1;
d=d-1;
if(c>200)
{
fill(0,0,0);
ellipse(200,200,e,e);
e=e+2
if(e>550)
{
background(0,0,0,15);
stroke(255,255,255,10);
fill(255,255,255);
a=0;
b=0;
c=0;
d=400;
e=0;
f=0;
g=0;
}
}
}
}
}