1rocks(6x)                     XScreenSaver manual                    rocks(6x)
2
3
4

NAME

6       rocks - animation of flying through an asteroid field
7

SYNOPSIS

9       rocks  [-display  host:display.screen] [-foreground color] [-background
10       color] [-window] [-root] [-mono] [-ncolors n] [-install] [-visual  vis‐
11       ual]  [-count  integer]  [-delay  usecs]  [-speed  integer] [-norotate]
12       [-nomove] [-3d] [-fps]
13

DESCRIPTION

15       The rocks program draws an animation of an asteroid field  moving  past
16       the  observer (or vice versa).  Sometimes the observer picks up spin on
17       Z axis.
18

OPTIONS

20       rocks accepts the following options:
21
22       -window Draw on a newly-created window.  This is the default.
23
24       -root   Draw on the root window.
25
26       -mono   Make all the rocks the same color.
27
28       -ncolors colors
29               How many different colors to use.  Default 5.  Colors are  cho‐
30               sen randomly.
31
32       -install
33               Install a private colormap for the window.
34
35       -visual visual
36               Specify  which  visual  to use.  Legal values are the name of a
37               visual class, or the id number (decimal or hex) of  a  specific
38               visual.
39
40       -count integer
41               Maximum number of rocks to draw on the screen at once.  Default
42               100.
43
44       -speed integer
45               A measure of the speed with which the observer  and  the  rocks
46               pass  each  other,  from 1 to 100.  Default 100, meaning ``very
47               fast.''  If you're on a slow display connection (the  animation
48               looks  jerky)  then  try making this number smaller, and/or de‐
49               creasing the number of rocks.
50
51       -delay microseconds
52               Number of microseconds to delay between  each  frame.   Default
53               50000,  meaning about 1/20th second.  Compare and contrast with
54               -speed, above.
55
56       -norotate
57               Don't rotate the observer; just fly through the  field  on  the
58               level.
59
60       -nomove Don't  turn  the  observer; just fly straight ahead through the
61               field.
62
63       -3d     Do red/blue 3d separations: if you look at the screen  with  3d
64               glasses,  the  rocks will be jumping right out at you.  Oooooh,
65               scaaary!
66
67       -fps    Display the current frame rate and CPU load.
68

ENVIRONMENT

70       DISPLAY to get the default host and display number.
71
72       XENVIRONMENT
73               to get the name of a resource file that  overrides  the  global
74               resources stored in the RESOURCE_MANAGER property.
75

SEE ALSO

77       X(1), xscreensaver(1)
78

BUGS

80       There should be an option to display doppler shift (a gravity rainbow.)
81
82       Speed of rotation should be settable.
83
84       Default speed of rotation should be relative to forward velocity.
85
87       Copyright  ©  1992 by Jamie Zawinski.  Permission to use, copy, modify,
88       distribute, and sell this software and its documentation for  any  pur‐
89       pose  is  hereby granted without fee, provided that the above copyright
90       notice appear in all copies and that both  that  copyright  notice  and
91       this  permission  notice appear in supporting documentation.  No repre‐
92       sentations are made about the suitability of this software for any pur‐
93       pose.  It is provided "as is" without express or implied warranty.
94

AUTHOR

96       Based    on    Lisp   Machine   code   copyright   1988   John   Nguyen
97       <johnn@hx.lcs.mit.edu>.
98
99       Ported to C and X by Jamie Zawinski <jwz@jwz.org>, 13-aug-92.
100
101       Steering code by Jeremie Petit; 3D code by theiling@coli.uni-sb.de.
102
103
104
105X Version 11               6.00-4.fc34 (05-May-2021)                 rocks(6x)
Impressum