Updated: 5.40 (12-Aug-2018)

Page Index

**-window**- Draw on a newly-created window. This is the default.
**-root**- Draw on the root window.
**-install**- Install a private colormap for the window.
**-visual***visual*- Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
**-delay***microseconds*- How much of a delay should be introduced between steps of the animation. Default 25000, or 1/40th second.

The following three options are mutually exclusive. They determine how the torus is displayed.

**-wireframe**- Display the torus as a wireframe mesh.
**-surface**- Display the torus as a solid surface (default).
**-transparent**- Display the torus as a transparent surface.

The following seven options are mutually exclusive. They determine the appearance of the torus.

**-solid**- Display the torus as a solid object.
**-bands**- Display the torus as see-through bands (default).
**-spirals-1, -spirals-2, -spirals-4, -spirals-8, -spirals-16**- Display the torus as see-through spirals with the indicated number of spirals.

The following two options are mutually exclusive. They determine how to color the torus.

**-twosided**- Display the torus with two colors: red on the outside and green on the inside.
**-colorwheel**- Display the torus with a fully saturated color wheel (default). If the torus is displayed as see-through bands each band will be displayed with a different color. Likewise, if the torus is displayed as see-through spirals each spiral will receive a different color.

The following two options are mutually exclusive. They determine how the torus is projected from 3d to 2d (i.e., to the screen).

**-perspective-3d**- Project the torus from 3d to 2d using a perspective projection (default).
**-orthographic-3d**- Project the torus from 3d to 2d using an orthographic projection.

The following two options are mutually exclusive. They determine how the torus is projected from 4d to 3d.

**-perspective-4d**- Project the torus from 4d to 3d using a perspective projection (default).
**-orthographic-4d**- Project the torus from 4d to 3d using an orthographic projection.

The following six options determine the rotation speed of the torus around the six possible hyperplanes. The rotation speed is measured in degrees per frame. The speeds should be set to relatively small values, e.g., less than 4 in magnitude.

**-speed-wx***float*- Rotation speed around the wx plane (default: 1.1).
**-speed-wy***float*- Rotation speed around the wy plane (default: 1.3).
**-speed-wz***float*- Rotation speed around the wz plane (default: 1.5).
**-speed-xy***float*- Rotation speed around the xy plane (default: 1.7).
**-speed-xz***float*- Rotation speed around the xz plane (default: 1.9).
**-speed-yz***float*- Rotation speed around the yz plane (default: 2.1).
**-fps**- Display the current frame rate, CPU load, and polygon count.

**DISPLAY**- to get the default host and display number.
**XENVIRONMENT**- to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.