void setup() { size(400, 400); background(0, 0, 255); //Blue Background noStroke(); ellipseMode(CORNER); fill(255,0,0); ellipse(95, 10, 250, 250); //Mario Hat fill(230,0,0); ellipse(60, 120, 100, 100); //Mario Hat Left Side ellipse(280, 120, 100, 100); //Mario Hat Right Side fill(255); ellipse(180, 30, 80, 80); //Mario Hat Decal stroke(255, 0, 0); strokeWeight(6); //Thickens Lines Of M line(190, 70, 205, 40); //Below Is The M Initial On Mario Hat line(205, 40, 220, 60); line(220, 60, 235, 40); line(235, 40, 250, 70); noStroke(); fill(255, 220, 220); ellipse(88, 80, 265, 260); //Mario Head fill(255, 180, 180); ellipse(180, 180, 80, 40); //Mario Nose stroke(200, 0, 0); fill(200, 0, 0); line(120, 123, 120, 100); //All Below Related To Mario Cap Portion Of Hat line(320, 123, 320, 100); noFill(); curve(200, 240, 120, 123, 320, 123, 200, 240); fill(200, 0, 0); curve(200, 258, 120, 100, 320, 100, 200, 258); noStroke(); fill(200, 0, 0); rect(121, 96, 199, 15); triangle(120, 123, 120, 100, 170, 111); triangle(320, 123, 320, 100, 270, 111); fill(0); curve(150, 150, 155, 115, 200, 100, 450, 200); //Left Eyebrow curve(50, 200, 240, 100, 285, 115, 300, 160); //Right Eyebrow fill(255, 150, 150); ellipse(198, 220, 40, 40); //Mario Mouth noStroke(); fill(0); line(180, 200, 150, 180); //Below Is Mustache curve(280, 50, 150, 180, 182, 200, 280, 50); line(260, 200, 287, 180); curve(150, 0, 287, 180, 260, 200, 200, 0); curve(380, 100, 180, 198, 198, 225, 330, 100); curve(120, 90, 259, 198, 243, 225, 150, 80); curve(285, 120, 192, 222, 218, 232, 200, 100); curve(280, 150, 218, 232, 242, 222, 150, 30); fill(255, 180, 180); curve(280, 190, 90, 185, 90, 230, 230, 200); //Left Ear curve(350, 270, 350, 185, 350, 230, 100, 300); //Right Ear fill(255, 220, 220); curve(220, 120, 100, 160, 100, 260, 220, 300); //Mario Left Cheek curve(220, 120, 340, 160, 340, 260, 220, 300); //Mario Right Cheek curve(180, 200, 180, 335, 260, 335, 260, 200); //Mario Chin fill(255, 150, 150); curve(180, 250, 200, 300, 240, 300, 260, 250); //Mario Chin Fold fill(255); ellipse(170, 120, 35, 60); //Mario Left Eye ellipse(235, 120, 35, 60); //Mario Right Eye stroke(200, 200, 255); strokeWeight(6); //Thicken Irises noFill(); curve(200, 200, 199, 130, 188, 180, 300, 400); //Mario Left Iris curve(120, 160, 240, 130, 250, 180, 200, 250); //Mario Right Iris fill(0); stroke(0); ellipse(188, 132, 16, 50); //Below Is Mario Pupils fill(0); stroke(0); ellipse(234, 132, 16, 50); stroke(255); strokeWeight(10); point(195, 150); stroke(255); strokeWeight(10); point(241, 150); noStroke(); fill(255, 180, 180); curve(220, 450, 180, 200, 260, 200, 230, 450); //Mario Top Half Nose Outline curve(220, -80, 180, 200, 260, 200, 230, -80); //Mario Bottom Half Nose Outline } void draw() { } void mouseDragged() { background(0, 0, 255); noStroke(); fill(255,0,0); ellipse(95, 10, 250, 250); //Mario Hat fill(230,0,0); ellipse(60, 120, 100, 100); //Mario Hat Left Side ellipse(280, 120, 100, 100); //Mario Hat Right Side fill(255); ellipse(180, 30, 80, 80); //Mario Hat Decal stroke(255, 0, 0); strokeWeight(6); //Thickens Lines Of M line(190, 70, 205, 40); //Below Is The M Initial On Mario's Hat line(205, 40, 220, 60); line(220, 60, 235, 40); line(235, 40, 250, 70); noStroke(); fill(255, 220, 220); ellipse(88, 80, 265, 260); //Mario Head stroke(200, 0, 0); fill(200, 0, 0); line(120, 123, 120, 100); //All Below Related To Mario Cap Portion Of Hat line(320, 123, 320, 100); noFill(); curve(200, 240, 120, 123, 320, 123, 200, 240); fill(200, 0, 0); curve(200, 258, 120, 100, 320, 100, 200, 258); noStroke(); fill(200, 0, 0); rect(121, 96, 199, 15); triangle(120, 123, 120, 100, 170, 111); triangle(320, 123, 320, 100, 270, 111); fill(0); curve(150, 150, 155, 115, 200, 100, 450, 200); //Left Eyebrow curve(50, 200, 240, 100, 285, 115, 300, 160); //Right Eyebrow fill(255, 180, 180); curve(280, 190, 90, 185, 90, 230, 230, 200); //Left Ear curve(350, 270, 350, 185, 350, 230, 100, 300); //Right Ear fill(255, 220, 220); curve(mouseX, 120, 340, 160, 340, 260, 220, 300); //Mario Cheek Alteration curve(mouseX, 120, 100, 160, 100, 260, 220, 300); //Mario Cheek Alteration curve(180, mouseY, 180, 335, 260, 335, 260, mouseY); //Mario Chin Alteration fill(255, 150, 150); curve(180, 250, 200, 300, 240, 300, 260, 250); //Mario Chin Fold fill(255); ellipse(170, 120, 35, 60); //Mario Left Eye ellipse(235, 120, 35, 60); //Mario Right Eye stroke(200, 200, 255); strokeWeight(6); //Thicken Irises noFill(); curve(200, 200, 199, 130, 188, 180, 300, 400); //Mario Left Iris curve(120, 160, 240, 130, 250, 180, 200, 250); //Mario Right Iris fill(0); stroke(0); ellipse(188, 132, 16, 50); //Below Is Mario Pupils fill(0); stroke(0); ellipse(234, 132, 16, 50); stroke(255); strokeWeight(10); point(195, 150); stroke(255); strokeWeight(10); point(241, 150); noStroke(); fill(255, 150, 150); ellipse(198, 220, 40, 40); //Mario Mouth noStroke(); fill(0); line(180, 200, 150, 180); //Below Is Mustache curve(280, 50, 150, 180, 182, 200, 280, 50); line(260, 200, 287, 180); curve(150, 0, 287, 180, 260, 200, 200, 0); curve(380, 100, 180, 198, 198, 225, 330, 100); curve(120, 90, 259, 198, 243, 225, 150, 80); curve(285, 120, 192, 222, 218, 232, 200, 100); curve(280, 150, 218, 232, 242, 222, 150, 30); fill(255, 180, 180); noStroke(); ellipse(180, 172, 79.8, 60); curve(220, mouseY, 180, 200, 260, 200, 230, mouseY); //Mario Top Nose Alteration curve(220, mouseY, 180, 200, 260, 200, 230, mouseY); //Mario Bottom Nose Alteration } void mousePressed() { background(0, 0, 255); noStroke(); ellipseMode(CORNER); fill(255,0,0); ellipse(95, 10, 250, 250); //Mario Hat fill(230,0,0); ellipse(60, 120, 100, 100); //Mario Hat Left Side ellipse(280, 120, 100, 100); //Mario Hat Right Side fill(255); ellipse(180, 30, 80, 80); //Mario Hat Decal stroke(255, 0, 0); strokeWeight(6); //Thickens Lines Of M line(190, 70, 205, 40); //Below Is The M Initial On Mario's Hat line(205, 40, 220, 60); line(220, 60, 235, 40); line(235, 40, 250, 70); noStroke(); fill(255, 220, 220); ellipse(88, 80, 265, 260); //Mario Head fill(255, 180, 180); ellipse(180, 180, 80, 40); //Mario Nose stroke(200, 0, 0); fill(200, 0, 0); line(120, 123, 120, 100); //All Below Related To Mario Cap Portion Of Hat line(320, 123, 320, 100); noFill(); curve(200, 240, 120, 123, 320, 123, 200, 240); fill(200, 0, 0); curve(200, 258, 120, 100, 320, 100, 200, 258); noStroke(); fill(200, 0, 0); rect(121, 96, 199, 15); triangle(120, 123, 120, 100, 170, 111); triangle(320, 123, 320, 100, 270, 111); fill(0); curve(300, 150, 160, 110, 200, 125, 50, 280); //Left Eyebrow Rotates And Lowers curve(300, 280, 240, 125, 285, 110, 300, 160); //Right Eyebrow Rotates And Lowers noStroke(); fill(0); line(180, 200, 150, 180); //Below Is Mustache curve(280, 50, 150, 180, 182, 200, 280, 50); line(260, 200, 287, 180); curve(150, 0, 287, 180, 260, 200, 200, 0); curve(380, 100, 180, 198, 198, 225, 330, 100); curve(120, 90, 259, 198, 243, 225, 150, 80); curve(285, 120, 192, 222, 218, 232, 200, 100); curve(280, 150, 218, 232, 242, 222, 150, 30); fill(255, 180, 180); curve(280, 190, 90, 185, 90, 230, 230, 200); //Left Ear curve(350, 270, 350, 185, 350, 230, 100, 300); //Right Ear fill(255, 220, 220); curve(220, 120, 100, 160, 100, 260, 220, 300); //Mario Left Cheek curve(220, 120, 340, 160, 340, 260, 220, 300); //Mario Right Cheek curve(180, 200, 180, 335, 260, 335, 260, 200); //Mario Chin fill(255, 150, 150); curve(180, 250, 200, 300, 240, 300, 260, 250); //Mario Chin Fold fill(255, 150, 150); ellipse(170, 120, 35, 60); //Mario Left Eye Closed ellipse(235, 120, 35, 60); //Mario Right Eye Closed fill(255, 180, 180); curve(220, 450, 180, 200, 260, 200, 230, 450); //Mario Top Half Nose Outline curve(220, -80, 180, 200, 260, 200, 230, -80); //Mario Bottom Half Nose Outline } void mouseReleased() { background(0, 0, 255); //Blue Background noStroke(); ellipseMode(CORNER); fill(255,0,0); ellipse(95, 10, 250, 250); //Mario Hat fill(230,0,0); ellipse(60, 120, 100, 100); //Mario Hat Left Side ellipse(280, 120, 100, 100); //Mario Hat Right Side fill(255); ellipse(180, 30, 80, 80); //Mario Hat Decal stroke(255, 0, 0); strokeWeight(6); //Thickens Lines Of M line(190, 70, 205, 40); //Below Is The M Initial On Mario's Hat line(205, 40, 220, 60); line(220, 60, 235, 40); line(235, 40, 250, 70); noStroke(); fill(255, 220, 220); ellipse(88, 80, 265, 260); //Mario Head fill(255, 180, 180); ellipse(180, 180, 80, 40); //Mario Nose stroke(200, 0, 0); fill(200, 0, 0); line(120, 123, 120, 100); //All Below Related To Mario Cap Portion Of Hat line(320, 123, 320, 100); noFill(); curve(200, 240, 120, 123, 320, 123, 200, 240); fill(200, 0, 0); curve(200, 258, 120, 100, 320, 100, 200, 258); noStroke(); fill(200, 0, 0); rect(121, 96, 199, 15); triangle(120, 123, 120, 100, 170, 111); triangle(320, 123, 320, 100, 270, 111); fill(0); curve(150, 150, 155, 115, 200, 100, 450, 200); //Left Eyebrow curve(50, 200, 240, 100, 285, 115, 300, 160); //Right Eyebrow fill(255, 150, 150); ellipse(198, 220, 40, 40); //Mario Mouth noStroke(); fill(0); line(180, 200, 150, 180); //Below Is Mustache curve(280, 50, 150, 180, 182, 200, 280, 50); line(260, 200, 287, 180); curve(150, 0, 287, 180, 260, 200, 200, 0); curve(380, 100, 180, 198, 198, 225, 330, 100); curve(120, 90, 259, 198, 243, 225, 150, 80); curve(285, 120, 192, 222, 218, 232, 200, 100); curve(280, 150, 218, 232, 242, 222, 150, 30); fill(255, 180, 180); curve(280, 190, 90, 185, 90, 230, 230, 200); //Left Ear curve(350, 270, 350, 185, 350, 230, 100, 300); //Right Ear fill(255, 220, 220); curve(220, 120, 100, 160, 100, 260, 220, 300); //Mario Left Cheek curve(220, 120, 340, 160, 340, 260, 220, 300); //Mario Right Cheek curve(180, 200, 180, 335, 260, 335, 260, 200); //Mario Chin fill(255, 150, 150); curve(180, 250, 200, 300, 240, 300, 260, 250); //Mario Chin Fold fill(255); ellipse(170, 120, 35, 60); //Mario Left Eye ellipse(235, 120, 35, 60); //Mario Right Eye stroke(200, 200, 255); strokeWeight(6); //Thicken Irises noFill(); curve(200, 200, 199, 130, 188, 180, 300, 400); //Mario Left Iris curve(120, 160, 240, 130, 250, 180, 200, 250); //Mario Right Iris fill(0); stroke(0); ellipse(188, 132, 16, 50); //Below Is Mario Pupils fill(0); stroke(0); ellipse(234, 132, 16, 50); stroke(255); strokeWeight(10); point(195, 150); stroke(255); strokeWeight(10); point(241, 150); noStroke(); fill(255, 180, 180); curve(220, 450, 180, 200, 260, 200, 230, 450); //Mario Top Half Nose Outline curve(220, -80, 180, 200, 260, 200, 230, -80); //Mario Bottom Half Nose Outline }