then you can use the "number scrubber" to quickly try out different numbers. Since you can't see the way the cursor moves to change the number scrubber here, here's a GIF that shows the motion:
(Since it's a GIF and not a video, it has no sound.)
You click on the number, then click and drag on the arrows that pop up above it. Number scrubbing is great because of how easy it makes experimentation.
Quick tip: Order function calls
When you type a line of code from top to bottom in the editor, order matters.
For example, the ellipse command that draws the face is right on top of the other commands and if you move the face command underneath the mouth command the result will look like this:
The mouth disappear! Why? Because in the code, the mouth command draws it first than the face command.
That’s why it’s important that you make your code in ordered. Else, you might can’t find your mouth.
ellipse(x, y, w, h)
When you draw an ellipse you always follow two parentheses() and a semicolon ;.Inside the parentheses, you put four parameters,using the first two as the center coordinates and the last two as the width/height. For alternate ways to position, see
When you draw a rectangle, using the first two coordinates as the top left corner and the last two as the width/height. For alternate ways to position, see
Draw an image on the canvas. The only allowed images are those that popup in the image picker when you use the getImage() method. The image is positioned using the x/y as the upper left corner. For alternate ways to position images, see