Basic HTML version of Foils prepared 13 July 98

Foil 68 General Algorithm

From Java Academy II:Advanced Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo


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!



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998