One of the big problems to tackle when writing platform independent animations in Java is the slow rate of buffer updates. This applet has been written to show a way how to accomplish fast graphics using classes from the standard library.
Your runtime environment must support version 1.5 or later to view this applet!
The image is being created using integer arrays. A converter object transforms the array into a usual image object which is drawn to screen using the graphics class. Special algorithms such as Bersenham's line drawing algorithm can be used to create a fast graphics library. The current FPS rate is shown in the status bar.
Another problem is the fact that applets will be executed on different machines with different processors and varying load. In order to achieve roughly the same behavior, the animation rate has been dynamically geared to the system time.
Please click here, to view the source code ...