LiveGraphics3D Example:
Two Interlocking Tori



Animation Of Two Interlocking Tori

In order to start the animation move the mouse into the picture. Pressing the mouse button and dragging the mouse will rotate the whole system. Pressing the meta key (alternate on most systems) together with the mouse button and dragging horizontally will switch through the frames of the animation. (Dragging vertically while pressing the meta key will hide polygons or show them again.)

This example is a strongly simplified version of the Mathematica 3.0 demo "Interlocking tori" by W. Gosper. (See "Getting Started/Demos -> Graphics Gallery -> Animations -> Interlocking Tori" in the online help of Mathematica 3.0.)



Implementation

First a standard package has to be loaded:

The following Mathematica commands are needed to produce this animation:

With these definitions animatedTori[5, 9] will show this example within Mathematica (with the standard light sources) and animatedToriInputForm[5, 9] will produce an InputForm appropriate for LiveGraphics3D.



Martin Kraus, April 15, 2021