xxxxxxxxxx
90
function setup() {
createCanvas(400, 400);
}
function draw() {
push()
background(0,206,209);
pop()
//tail
push()
strokeWeight(20);
stroke(255,140,0);
line(350, 150, 300, 330);
pop()
//body
push()
fill(249,209,126);
stroke(255,140,0);
strokeWeight(5);
strokeJoin(ROUND);
quad(170, 150, 250, 150, 330, 350, 180, 350);
pop()
//ears
push()
fill(249,209,126)
stroke(255,140,0);
strokeWeight(5);
strokeJoin(ROUND);
triangle(145, 90, 120, 50, 180, 70);
triangle(210, 70, 250, 30, 250, 90);
pop()
//head
push()
stroke(255,140,0);
strokeWeight(5);
fill(249,209,126);
ellipse(200, 120, 120, 120);
pop()
//mouth
push()
stroke(0,0,0)
strokeWeight(5);
arc(185, 130, 30, 30, 0, PI);
arc(215, 130, 30, 30, 0, PI);
//nose
push()
strokeWeight(5);
ellipse(200,128,10,5);
//eyes
push()
fill(255,255,255);
ellipse(170,108,30,20);
ellipse(230,108,30,20);
strokeWeight(15)
point(170, 108);
point(230, 108);
//chin
push()
strokeWeight(5);
stroke(255);
ellipse(200, 165, 55, 20);
//belly
push()
strokeWeight(5);
stroke(255);
strokeJoin(ROUND);
quad(190, 200, 250, 200, 300, 345, 200, 345);
//legs
push()
strokeWeight(20);
stroke(255,140,0);
line(190, 220, 200, 345);
line(260, 220, 250, 345);
}