This exercise is a project from Khan Academy’s Intro to JS: Drawing & Animation.
The objective of this project is to make an animal (whatever your choice) and make it grow. The animated video could not be uploaded to the blog.
var bodyX = 200;
var bodyY = 220;
var bodyW = 118;
var faceW = bodyW/2;
draw = function() {
background(207, 254, 255);
fill(240, 209, 36);
ellipse(bodyX, bodyY, bodyW, 106); // body?
ellipse(bodyX, bodyY+0, faceW, 47); // face?
};