xxxxxxxxxx
71
function setup() {
createCanvas(800, 1000);
}
function draw() {
background(242,242,242);
strokeWeight(10);
fill(157,165,92);
//BACKGROUND
noStroke();
push();
fill(88,87,89);
ellipse(width,height,2000);
pop();
push();
fill(242,242,242);
ellipse(width,height,800);
pop();
push();
for(let x=0; x<height; x=x+200){
noFill();
strokeWeight(3);
stroke(242,242,242);
arc(width,height,x+frameCount*15,x+frameCount*15,PI,PI+HALF_PI);}
pop();
if (frameCount>120){
frameCount=0;
}
//F
beginShape();
vertex(500,300);
vertex(400,300);
vertex(400,400);
vertex(600,400);
vertex(500,500);
vertex(400,500);
vertex(400,800);
vertex(300,800);
vertex(300,500);
vertex(200,500);
vertex(300,400);
vertex(300,300);
vertex(400,200);
vertex(600,200);
endShape();
//CURVE
beginShape();
curveVertex(600,300);
curveVertex(600,200);
curveVertex(500,300);
curveVertex(600,600);
endShape();
//CIRCLE
push();
ellipse(600,300,120);
pop();
curve(600,300,600,200,500,300,600,600);
}