Lesson goal: Animated-GIF: Move a small point
Previous: Introduction: Make a flashing animation
| Next: Make a line move
In the last lesson
, you learned how to set up and create a simple
In this lesson, we'll use a new animation function called
make some small dots (pixels) move around in an animated GIF.
Move the mouse over a dotted box for more information.
Now you try. Make a little pixel move!
Type your code here:
To make a clean animation, you should clear the entire frame before drawing the next one. Try
experimenting with the code above by leaving in, and taking out the