xxxxxxxxxx
/*-----------------------------
Bender
It Draws Bender
01/18/2017
Austin DiLorenzo
dilorenzo.14@osu.edu
01/19/2017
Austin DiLorenzo
https://www.openprocessing.org/sketch/400021
-----------------------------*/
size(1000,620);//background perameters
background(255);
//Antena
fill(123,162,191);
triangle(500,20, 495,60, 505,60);
fill(198,225,242);
ellipse(500,20, 10, 10);
quad(495,60, 505,60, 510,65, 490,65);
//Head
fill(169,197,218);
rect(450,112, 100, 120);
arc(500,113, 100, 100, PI,TWO_PI);
//Eyes
fill(198,225,242);
rect(445,115, 110, 50, 15);
fill(25);
rect(450,120, 100, 40, 25);
fill(255,249,197);
ellipse(475,140, 40, 40);
ellipse(525,140, 40, 40);
fill(25);
rect(473,137, 5, 5);
rect(522,137, 5, 5);
//Mouth
fill(255,249,197);
rect(455,190, 90, 30, 50);
line(470,190, 470,220);
line(485,190, 485,220);
line(500,190, 500,220);
line(515,190, 515,220);
line(530,190, 530,220);
line(455,200, 545,200);
line(455,210, 545,210);
//right arm
fill(123,162,191);
rect(333,256, 110, 25);
line(358,256, 358,281);
line(383,256, 383,281);
line(408,256, 408,281);
fill(169,197,218);
quad(333,256, 333,281, 313,291, 313,246);
rect(293,246, 20, 9);
rect(293,263, 20, 9);
rect(293,282, 20, 9);
//left arm
fill(123,162,191);
rect(554,256, 110, 25);
line(589,256, 589,281);
line(614,256, 614,281);
line(639,256, 639,281);
fill(169,197,218);
quad(664,256, 664, 281, 684,291, 684, 246);
rect(684,246, 20, 9);
rect(684,263, 20, 9);
rect(684,282, 20, 9);
//body
fill(198,225,242);
quad(450,232, 550,232, 565,252, 435,252);
fill(169,197,218);
quad(435,252, 565,252, 560,422, 440,422);
rect(455,272, 90, 130, 15);
ellipse(530,337, 10, 10);
//right leg
fill(123,162,191);
quad(455,422, 480,422, 475,575, 450,575);
line(454,453, 479,453);
line(453,484, 478,484);
line(452,515, 477,515);
line(451,546, 476,546);
fill(169,197,218);
arc(462,599, 76, 50, PI,TWO_PI);
line(424,599, 500,599);
//left leg
fill(123,162,191);
quad(545,422, 520,422, 525,575, 550,575);
line(521,453, 546,453);
line(522,484, 547,484);
line(523,515, 548,515);
line(524,546, 549,546);
fill(169,197,218);
arc(538,599, 76, 50, PI,TWO_PI);
line(500,599, 576,599);