DISPLAY
to get the default host and display number.
2d projection of a 4d object
hyperball [-display
host:display.screen]
[-foreground
color]
[-background
color]
[-xy
float]
[-xz
float]
[-yz
float]
[-xw
float]
[-yw
float]
[-zw
float]
[-observer-z
int]
[-delay
usecs]
[-window]
[-root]
[-mono]
[-install]
[-visual
visual]
The hyperball program displays a wireframe projection of a hyperball which is rotating at user-specified rates around any or all of its four axes.
hyperball accepts the following options:
-window
Draw on a newly-created window. This is the default.
-root
Draw on the root window.
-mono
If on a color display, pretend we're on a monochrome display.
-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 100000, or about 1/10th second.
-observer-z int
How far away the observer is from the center of the cube (the cube is one unit per side.) Default 5.
-xw float
-xy float
-xz float
-yw float
-yz float
-zw float
The amount that the ball should be rotated around the specified axis at each frame of the animation, expressed in radians. These should be small floating-point values (less than 0.05 works best.) Default: xy=0.01, xz=0.005, yw=0.01.
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.