Ha, dont tell me this isnt cool. He is really eating it
Code:void setup(){
size(600,600);
smooth();
}
void draw(){
background(255, 255, 255);//This makes the background white//
monster();
mouth();
}
void monster(){
fill(0);
stroke(0);
ellipse(300, 300, 300, 300);//This is the black circle body of the monster//
fill(0);
stroke(0);
triangle(190, 200, 250, 200, 220, 90);//Monster ear left//
fill(0);
stroke(0);
triangle(350, 200, 410, 200, 380, 90);//Monster ear right//
fill(225);
stroke(225);
ellipse(300, 250, 50, 75);//This is the sclera of the monster eye//
fill(0);
stroke(0);
ellipse(300, 275, 20, 20);//This is the pupil of the monster eye//
fill(225);
stroke(225);
triangle(280, 300, 320, 300, 300, 320);//This is the nose of the monster//
fill(225);
stroke(225);
line(310, 310, 350, 310);//Right Whisker pointing straight//
fill(225);
stroke(225);
line(310, 310, 340, 340);//Right Whisker pointing down//
fill(225);
stroke(225);
line(310, 310, 360, 330);//Right Whisker in-between//
fill(225);
stroke(225);
line(290, 310, 250, 310);//Left Whisker pointing straight//
fill(225);
stroke(225);
line(290, 310, 260, 340);//Left Whisker pointing down//
fill(225);
stroke(225);
line(290, 310, 240, 330);//Left Whisker in-between//
fill(0);
stroke(0);
ellipse(300, 500, 100, 150);//Monster body//
fill(225);
stroke(225);
ellipse(330, 475, 20, 20);//Monster paw right//
fill(225);
stroke(225);
ellipse(270, 475, 20, 20);//Monster paw left//
fill(0);
stroke(0);
rect(330, 550, 60, 10);//Monster tail//
fill(0);
stroke(0);
ellipse(390, 550, 30, 30);//Monster tail end//
}
void mouth(){
if(mousePressed == true && dist(300,375,mouseX,mouseY)<30){
fill(225);
stroke(225);
noCursor();
ellipse(300, 375, 70, 1);//mouth closed//
}
else{
cursor(ARROW);
fill(225);
stroke(225);
ellipse(300, 375, 70, 70);//mouth opened//
}
}