Rob's Ray-Traced Shiny-Red Torus and Gold Sphere Java Applet


This 'lil Java applet is 160x120 pixels in size and takes two parameters:

  • Interval specifies the milliseconds paused between frames, and
  • Direction specifies either clockwise (1) or counterclockwise (0) rotation.

    For this example page, the Interval=100, and the Direction=1 (clockwise):


    The source