size(200, 200);
//Color = green
fill(0, 255, 0);
//The head
ellipse(width*.5, height*.5, width*.75, height*.75);
//Eyes = white
fill(255);
//The eyes
ellipse(width*.375, height*.425, width*.15, height*.1);
ellipse(width*.625, height*.425, width*.15, height*.1);
//Eyeball = black
fill(0);
//The pupils
ellipse(width*.375, height*.425, width*.05, height*.05);
ellipse(width*.625, height*.425, width*.05, height*.05);
//Mouth = red
fill(255, 0, 0);
//The mouth
arc(width*.5, height*.625, width*.4, height*.25, 0, 3.14);
line(width*.3, height*.625, width*.7, height*.625);
Hi guys please I need help for my robotics subject
The last row seems to have a problem and I can't fix it.
