version 4, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
XScreenSaver |
| |
|
2 |
!!!XScreenSaver |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
ENVIRONMENT |
| |
|
8 |
SEE ALSO |
| |
|
9 |
BUGS |
| |
|
10 |
COPYRIGHT |
| |
|
11 |
AUTHOR |
| |
|
12 |
---- |
| |
|
13 |
!!NAME |
| |
|
14 |
|
| |
|
15 |
|
| |
|
16 |
rocks - animation of flying through an asteroid field |
| |
|
17 |
!!SYNOPSIS |
| |
|
18 |
|
| |
|
19 |
|
| |
|
20 |
__rocks__ [[-display ''host:display.screen''] |
| |
|
21 |
[[-foreground ''color''] [[-background ''color''] |
| |
|
22 |
[[-window] [[-root] [[-mono] [[-ncolors ''n''] [[-install] |
| |
|
23 |
[[-visual ''visual''] [[-count ''integer''] [[-delay |
| |
|
24 |
''usecs''] [[-speed ''integer''] [[-norotate] [[-nomove] |
| |
|
25 |
[[-3d] |
| |
|
26 |
!!DESCRIPTION |
| |
|
27 |
|
| |
|
28 |
|
| |
|
29 |
The ''rocks'' program draws an animation of an asteroid |
| |
|
30 |
field moving past the observer (or vice versa). Sometimes |
| |
|
31 |
the observer picks up spin on Z axis. |
| |
|
32 |
!!OPTIONS |
| |
|
33 |
|
| |
|
34 |
|
| |
|
35 |
''rocks'' accepts the following options: |
| |
|
36 |
|
| |
|
37 |
|
| |
|
38 |
__-window__ |
| |
|
39 |
|
| |
|
40 |
|
| |
|
41 |
Draw on a newly-created window. This is the |
| |
|
42 |
default. |
| |
|
43 |
|
| |
|
44 |
|
| |
|
45 |
__-root__ |
| |
|
46 |
|
| |
|
47 |
|
| |
|
48 |
Draw on the root window. |
| |
|
49 |
|
| |
|
50 |
|
| |
|
51 |
__-mono__ |
| |
|
52 |
|
| |
|
53 |
|
| |
|
54 |
Make all the rocks the same color. |
| |
|
55 |
|
| |
|
56 |
|
| |
|
57 |
__-ncolors colors__ |
| |
|
58 |
|
| |
|
59 |
|
| |
|
60 |
How many different colors to use. Default 5. Colors are |
| |
|
61 |
chosen randomly. |
| |
|
62 |
|
| |
|
63 |
|
| |
|
64 |
__-install__ |
| |
|
65 |
|
| |
|
66 |
|
| |
|
67 |
Install a private colormap for the window. |
| |
|
68 |
|
| |
|
69 |
|
| |
|
70 |
__-visual__ ''visual'' |
| |
|
71 |
|
| |
|
72 |
|
| |
|
73 |
Specify which visual to use. Legal values are the name of a |
| |
|
74 |
visual class, or the id number (decimal or hex) of a |
| |
|
75 |
specific visual. |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
__-count__ ''integer'' |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
Maximum number of rocks to draw on the screen at once. |
| |
|
82 |
Default 100. |
| |
|
83 |
|
| |
|
84 |
|
| |
|
85 |
__-speed__ ''integer'' |
| |
|
86 |
|
| |
|
87 |
|
| |
|
88 |
A measure of the speed with which the observer and the rocks |
| |
|
89 |
pass each other, from 1 to 100. Default 100, meaning ``very |
| |
|
90 |
fast.'' If you're on a slow display connection (the |
| |
|
91 |
animation looks jerky) then try making this number smaller, |
| |
|
92 |
and/or decreasing the number of rocks. |
| |
|
93 |
|
| |
|
94 |
|
| |
|
95 |
__-delay__ ''microseconds'' |
| |
|
96 |
|
| |
|
97 |
|
| |
|
98 |
Number of microseconds to delay between each frame. Default |
| |
|
99 |
50000, meaning about 1/20th second. Compare and contrast |
| |
|
100 |
with ''-speed'', above. |
| |
|
101 |
|
| |
|
102 |
|
| |
|
103 |
__-norotate__ |
| |
|
104 |
|
| |
|
105 |
|
| |
|
106 |
Don't rotate the observer; just fly through the field on the |
| |
|
107 |
level. |
| |
|
108 |
|
| |
|
109 |
|
| |
|
110 |
__-nomove__ |
| |
|
111 |
|
| |
|
112 |
|
| |
|
113 |
Don't turn the observer; just fly straight ahead through the |
| |
|
114 |
field. |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
__-3d__ |
| |
|
118 |
|
| |
|
119 |
|
| |
|
120 |
Do red/blue 3d separations: if you look at the screen with |
| |
|
121 |
3d glasses, the rocks will be ''jumping'' right |
| |
|
122 |
''out'' at you. Oooooh, scaaary! |
| |
|
123 |
!!ENVIRONMENT |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
__DISPLAY__ |
| |
|
127 |
|
| |
|
128 |
|
| |
|
129 |
to get the default host and display number. |
| |
|
130 |
|
| |
|
131 |
|
| |
|
132 |
__XENVIRONMENT__ |
| |
|
133 |
|
| |
|
134 |
|
| |
|
135 |
to get the name of a resource file that overrides the global |
| |
|
136 |
resources stored in the RESOURCE_MANAGER |
| |
|
137 |
property. |
| |
|
138 |
!!SEE ALSO |
| |
|
139 |
|
| |
|
140 |
|
| 4 |
perry |
141 |
X(1), xscreensaver(1) |
| 1 |
perry |
142 |
!!BUGS |
| |
|
143 |
|
| |
|
144 |
|
| |
|
145 |
There should be an option to display doppler shift (a |
| |
|
146 |
gravity rainbow.) |
| |
|
147 |
|
| |
|
148 |
|
| |
|
149 |
Speed of rotation should be settable. |
| |
|
150 |
|
| |
|
151 |
|
| |
|
152 |
Default speed of rotation should be relative to forward |
| |
|
153 |
velocity. |
| |
|
154 |
!!COPYRIGHT |
| |
|
155 |
|
| |
|
156 |
|
| |
|
157 |
Copyright 1992 by Jamie Zawinski. Permission to use, copy, |
| |
|
158 |
modify, distribute, and sell this software and its |
| |
|
159 |
documentation for any purpose is hereby granted without fee, |
| |
|
160 |
provided that the above copyright notice appear in all |
| |
|
161 |
copies and that both that copyright notice and this |
| |
|
162 |
permission notice appear in supporting documentation. No |
| |
|
163 |
representations are made about the suitability of this |
| |
|
164 |
software for any purpose. It is provided |
| |
|
165 |
!!AUTHOR |
| |
|
166 |
|
| |
|
167 |
|
| |
|
168 |
Based on Lisp Machine code copyright 1988 John Nguyen |
| |
|
169 |
|
| |
|
170 |
|
| |
|
171 |
Ported to C and X by Jamie Zawinski |
| |
|
172 |
|
| |
|
173 |
|
| |
|
174 |
Steering code by Jeremie Petit; 3D code by |
| |
|
175 |
theiling@coli.uni-sb.de. |
| |
|
176 |
---- |