DISPLAY
to get the default host and display number.
Animation of flying through an asteroid field
rocks [-display
host:display.screen]
[-foreground
color]
[-background
color]
[-window]
[-root]
[-install]
[-visual
visual]
[-count
integer]
[-delay
usecs]
[-speed
integer]
[-norotate]
The rocks program draws an animation of an asteroid field moving past the observer (or vice versa). Sometimes the observer picks up spin on Z axis.
rocks accepts the following options:
-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.
-count integer
Maximum number of rocks to draw on the screen at once. Default 100.
-speed integer
A measure of the speed with which the observer and the rocks pass each other, from 1 to 100. Default 100, meaning ``very fast.'' If you're on a slow display connection (the animation looks jerky) then try making this number smaller, and/or decreasing the number of rocks.
-delay microseconds
Number of microseconds to delay between each frame. Default 50000, meaning about 1/20th second. Compare and contrast with -speed, above.
-norotate
Don't rotate the observer; just fly straight through the field.
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.
Unchanged in 2 releases since Debian 1.2 (Rex).