xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
background(255);
textSize(50)
text( int(mouseX)+" , "+int(mouseY),50,50 )
fill(255, 213, 45)
strokeWeight(10)
beginShape()
curveVertex(440+mouseX/5,160+mouseY/5)
curveVertex(360,360)
curveVertex(160,400 + random(-10,10))
curveVertex(350,500)
curveVertex(320,700)
curveVertex(width/2,500)
curveVertex(570,700)
curveVertex(500,460)
curveVertex(670,frameCount/5)
curveVertex(480,360)
endShape(CLOSE)
fill('white')
ellipse(390,400,40,40)
ellipse(450,405,20,20)
noFill()
beginShape()
vertex(360,450)
vertex(400,470)
vertex(400,440)
vertex(420,440)
vertex(450,460)
vertex(460,440)
endShape()
}