Rotating-Cube Applet Performance Test
Technical Notes

The orientation of the rotating cube is computed in double-precision floating point format using a three-dimensional rotation matrix. The animation is driven by a single execution thread containing a loop. With unbuffered images, the loop (1) updates the coordinates of all vertices, per the specified phi and theta rotation rates, (2) erases the entire image, and (3) sends the newly rotated edges or faces to the display subsystem sequentially. With buffered images, the entire cube-redraw frame is written to a memory buffer in Step 3, and the complete frame is then sent to the display subsystem.

Return to Applet.


Copyright and Trademarks