size(300, 360); smooth(); strokeWeight(2); background(220); ellipseMode(RADIUS); stroke(0); fill(255); //glava rect(100, 100, 96, 64); //antena noFill(); beginShape(); vertex(148, 100); vertex(154, 88); vertex(142, 88); vertex(148, 76); endShape(); fill(255, 0, 0); ellipse(148, 76, 4, 4); fill(255); //oči ellipse(124, 121, 9, 9); ellipse(172, 121, 9, 9); fill(0); ellipse(128, 125, 4, 4); ellipse(168, 121, 4, 4); fill(255); //usta rect(132, 136, 32, 21); //vrat rect(136, 164, 24, 6); rect(142, 170, 12, 6); rect(136, 176, 24, 6); //točak fill(0); ellipse(148, 260, 32, 32); //trup fill(255); rect(88, 180, 120, 96); //baterija fill(255,0, 0); rect(112, 212, 12, 32); noFill(); rect(112, 212, 66, 32); fill(0); rect(178, 222, 6, 10);