General Algorithm
To animate an object within the applet window, do the following:
draw the object
clear the applet window
move the object slightly
repeat indefinitely
Be careful when moving the object so that it does not exit the applet window!
Previous slide
Next slide
Back to first slide
View graphic version