xxxxxxxxxx
34
var y;
var x;
var size;
y=300
x=200
size=50;
function setup() {
createCanvas(500, 500);
}
function draw() {
background(200, 70, 450);
// this is the background
strokeWeight (5);
ellipse( 250, 250, y);
// this is the circle of the body
fill (255);
ellipse( x, x, size);
ellipse( y, x, size);
//these are the eye
line( y, y, x, y);
//this is the mouth
fill (0, 0, 0);
ellipse( y, x, 10);
ellipse( x, x, 10);
//these are the eyeballs
fill( 0, x, 0 );
line( y, y, x, y);
//this is also a mouth
}