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 |
COPYRIGHT |
|
|
10 |
AUTHOR |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
rd-bomb - reaction/diffusion textures |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__rd-bomb__ [[-display ''host:display.screen''] |
|
|
20 |
[[-foreground ''color''] [[-background ''color''] |
|
|
21 |
[[-window] [[-root] [[-install] [[-visual ''visual''] [[-width |
|
|
22 |
''n''] [[-height ''n''] [[-reaction ''n''] |
|
|
23 |
[[-diffusion ''n''] [[-size ''f''] [[-speed ''f''] |
|
|
24 |
[[-delay ''usecs''] |
|
|
25 |
!!DESCRIPTION |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
The ''rd-bomb'' program draws reaction/diffusion |
|
|
29 |
textures. The code is derived from the 'd' mode of the |
|
|
30 |
'' |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
If the frame-rate is too low, consider decreasing the width |
|
|
34 |
and height of the tile, or decreasing the size of the active |
|
|
35 |
part of the screen. |
|
|
36 |
!!OPTIONS |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
If one of the reaction, diffusion, radius, and palette |
|
|
40 |
options is set to a negative value, then that option will be |
|
|
41 |
set to a random appropriate value. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
Be sure to try |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
''rd-bomb'' accepts the following options: |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
__-window__ |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
Draw on a newly-created window. This is the |
|
|
54 |
default. |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
__-root__ |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
Draw on the root window. |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
__-install__ |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
Install a private colormap for the window. |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
__-visual__ ''visual'' |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
Specify which visual to use. Legal values are the name of a |
|
|
73 |
visual class, or the id number (decimal or hex) of a |
|
|
74 |
specific visual. |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
__-width__ ''n'' |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
__-height__ ''n'' |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
Specify the size of the tile, in pixels. |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
__-reaction__ ''n'' |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
__-diffusion__ ''n'' |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
These are constants in the equations that effect its visual |
|
|
93 |
nature. Each may be one of 0, 1, or 2. |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
__-radius__ ''n'' |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
Size of the seed. |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
__-palette__ ''n'' |
|
|
103 |
|
|
|
104 |
|
|
|
105 |
Selects a palette. Must be between 0 and 80, |
|
|
106 |
inclusive. |
|
|
107 |
|
|
|
108 |
|
|
|
109 |
__-size__ ''f'' |
|
|
110 |
|
|
|
111 |
|
|
|
112 |
What fraction of the window is actively drawn, a floating |
|
|
113 |
point number between 0 (exclusive) and 1 (inclusive). |
|
|
114 |
Default is 0.66. |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
__-speed__ ''f'' |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
When a fraction of the screen is active, the active area |
|
|
121 |
moves at this rate (a floating point number). Default is |
|
|
122 |
zero. Suggested value: 1.0. |
|
|
123 |
|
|
|
124 |
|
|
|
125 |
__-delay__ ''usecs'' |
|
|
126 |
|
|
|
127 |
|
|
|
128 |
How many microseconds to delay between frames; default 1000, |
|
|
129 |
or about 1/1000th of a second. |
|
|
130 |
!!ENVIRONMENT |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
__DISPLAY__ |
|
|
134 |
|
|
|
135 |
|
|
|
136 |
to get the default host and display number. |
|
|
137 |
|
|
|
138 |
|
|
|
139 |
__XENVIRONMENT__ |
|
|
140 |
|
|
|
141 |
|
|
|
142 |
to get the name of a resource file that overrides the global |
|
|
143 |
resources stored in the RESOURCE_MANAGER |
|
|
144 |
property. |
|
|
145 |
!!SEE ALSO |
|
|
146 |
|
|
|
147 |
|
4 |
perry |
148 |
X(1), xscreensaver(1), |
1 |
perry |
149 |
xlock(1) |
|
|
150 |
!!COPYRIGHT |
|
|
151 |
|
|
|
152 |
|
|
|
153 |
Copyright 1997 by Scott Draves. |
|
|
154 |
|
|
|
155 |
|
|
|
156 |
Permission to use, copy, modify, and distribute this |
|
|
157 |
software and its documentation for any purpose and without |
|
|
158 |
fee is hereby granted, provided that the above copyright |
|
|
159 |
notice appear in all copies and that both that copyright |
|
|
160 |
notice and this permission notice appear in supporting |
|
|
161 |
documentation. |
|
|
162 |
!!AUTHOR |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
Scott Draves |
|
|
166 |
---- |