The clouds are hiding the sun now, and we want to animate them moving in opposite directions away from it. Make it so that the left cloud moves 1 pixel to the left in each frame, and the right cloud moves 1 pixel to the right. Remember you can click Restart to re-run your program. :noStroke();
var leftX = 115;
var rightX = 310;
var sunRadius = 100;
draw = function() {
background(184, 236, 255);
fill(255, 170, 0);
ellipse(200, 100, sunRadius, sunRadius);
// clouds
fill(255, 255, 255);
// left cloud
ellipse(leftX, 150, 126, 97);
ellipse(leftX+62, 150, 70, 60);
ellipse(leftX-62, 150, 70, 60);
// right cloud
ellipse(rightX, 100, 126, 97);
ellipse(rightX+62, 100, 70, 60);
ellipse(rightX-62, 100, 70, 60);
};
please help