xxxxxxxxxx
int x=0;
int y=1200;
int B;
void setup() {
size(1200, 1200);
noLoop();
}
void draw() {
while (x < width) {
line(-10, x, y, 1210); //bottom left
B-= 5;
x+= 5;
y-= 1;
line(x, -100, 0, y); //arc1
B-= 5;
x+= 5;
y-= 5;
line(-1000, x, y, 0); //arc2
B-= 5;
x+= 5;
y-= 5;
line(width, x, y, 0); ///top right
B+=random(1,5);
x-=random(4,5);
y+= 1;
line(width+1550, y+100, 0,x+300); //left/right
B-=random(3,4);
x+=random(6,7);
y-= 5;
line(width+1222, y+200, 0,x-1100); //left/right
B-=random(3,4);
x+=random(6,7);
y-= 5;
line(x-500, 0, y,width+200); //top/bottom
B-=random(1,5);
x+=random(5,6);
y-= 5;
}
}