xxxxxxxxxx
78
function setup() {
createCanvas(800, 1000);
}
function draw() {
background(220);
push();
noStroke();
fill(88,87,89);
ellipse(0,0,2000);
pop();
push();
noStroke();
fill(242,242,242);
ellipse(0,0,800);
pop();
push();
for(let x=0; x<height*width; x=x+100){
noFill();
strokeWeight(1);
stroke(242,242,242);
line(0,0,x,height);
}
pop();
noFill();
strokeWeight(100);
stroke(157,165,92);
endShape();
strokeCap(ROUND);
//ANIMATION
push();
translate(width/2,height/2);
rotate(frameCount*0.012)
//TOP LEFT
push();
translate(-250,-250);
arc(0,0,400,400,0,HALF_PI);
pop();
//TOP RIGHT
push();
translate(-150,-250);
arc(400,0,400,400,HALF_PI,PI);
pop();
//BOTTOM RIGHT
push();
translate(-150,-150);
arc(400,400,400,400,PI,HALF_PI+PI);
pop();
//BOTTOM LEFT
push();
translate(-250,-150);
arc(0,400,400,400,PI+HALF_PI,TWO_PI);
pop();
//CIRCLE
pop();
push();
noStroke();
fill(157,165,92);
ellipse(680,780,150);
pop();
}