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 |
hypercube - 2d projection of a 4d object |
| |
|
16 |
!!SYNOPSIS |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
__hypercube__ [[-display ''host:display.screen''] |
| |
|
20 |
[[-foreground ''color''] [[-background ''color''] |
| |
|
21 |
[[-color[[0-7] ''color''] [[-xy ''float''] [[-xz |
| |
|
22 |
''float''] [[-yz ''float''] [[-xw ''float''] [[-yw |
| |
|
23 |
''float''] [[-zw ''float''] [[-observer-z ''int''] |
| |
|
24 |
[[-delay ''usecs''] [[-window] [[-root] [[-mono] [[-install] |
| |
|
25 |
[[-visual ''visual''] |
| |
|
26 |
!!DESCRIPTION |
| |
|
27 |
|
| |
|
28 |
|
| |
|
29 |
The ''hypercube'' program displays a wireframe projection |
| |
|
30 |
of a hypercube which is rotating at user-specified rates |
| |
|
31 |
around any or all of its four axes. |
| |
|
32 |
!!OPTIONS |
| |
|
33 |
|
| |
|
34 |
|
| |
|
35 |
''hypercube'' 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 |
If on a color display, pretend we're on a monochrome |
| |
|
55 |
display. |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
__-install__ |
| |
|
59 |
|
| |
|
60 |
|
| |
|
61 |
Install a private colormap for the window. |
| |
|
62 |
|
| |
|
63 |
|
| |
|
64 |
__-visual__ ''visual'' |
| |
|
65 |
|
| |
|
66 |
|
| |
|
67 |
Specify which visual to use. Legal values are the name of a |
| |
|
68 |
visual class, or the id number (decimal or hex) of a |
| |
|
69 |
specific visual. |
| |
|
70 |
|
| |
|
71 |
|
| |
|
72 |
__-delay__ ''microseconds'' |
| |
|
73 |
|
| |
|
74 |
|
| |
|
75 |
How much of a delay should be introduced between steps of |
| |
|
76 |
the animation. Default 100000, or about 1/10th |
| |
|
77 |
second. |
| |
|
78 |
|
| |
|
79 |
|
| |
|
80 |
__-observer-z__ ''int'' |
| |
|
81 |
|
| |
|
82 |
|
| |
|
83 |
How far away the observer is from the center of the cube |
| |
|
84 |
(the cube is one unit per side.) Default 5. |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
__-color0__ ''color'' |
| |
|
88 |
|
| |
|
89 |
|
| |
|
90 |
__-color1__ ''color'' |
| |
|
91 |
|
| |
|
92 |
|
| |
|
93 |
__-color2__ ''color'' |
| |
|
94 |
|
| |
|
95 |
|
| |
|
96 |
__-color3__ ''color'' |
| |
|
97 |
|
| |
|
98 |
|
| |
|
99 |
__-color4__ ''color'' |
| |
|
100 |
|
| |
|
101 |
|
| |
|
102 |
__-color5__ ''color'' |
| |
|
103 |
|
| |
|
104 |
|
| |
|
105 |
__-color6__ ''color'' |
| |
|
106 |
|
| |
|
107 |
|
| |
|
108 |
__-color7__ ''color'' |
| |
|
109 |
|
| |
|
110 |
|
| |
|
111 |
The colors used to draw the line segments bordering the |
| |
|
112 |
eight faces of the cube. Some of the faces have only two of |
| |
|
113 |
their border-lines drawn in the specified color, and some |
| |
|
114 |
have all four. |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
__-xw__ ''float'' |
| |
|
118 |
|
| |
|
119 |
|
| |
|
120 |
__-xy__ ''float'' |
| |
|
121 |
|
| |
|
122 |
|
| |
|
123 |
__-xz__ ''float'' |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
__-yw__ ''float'' |
| |
|
127 |
|
| |
|
128 |
|
| |
|
129 |
__-yz__ ''float'' |
| |
|
130 |
|
| |
|
131 |
|
| |
|
132 |
__-zw__ ''float'' |
| |
|
133 |
|
| |
|
134 |
|
| |
|
135 |
The amount that the cube should be rotated around the |
| |
|
136 |
specified axis at each frame of the animation, expressed in |
| |
|
137 |
radians. These should be small floating-point values (less |
| |
|
138 |
than 0.05 works best.) Default: xy=0.01, xz=0.005, |
| |
|
139 |
yw=0.01. |
| |
|
140 |
!!ENVIRONMENT |
| |
|
141 |
|
| |
|
142 |
|
| |
|
143 |
__DISPLAY__ |
| |
|
144 |
|
| |
|
145 |
|
| |
|
146 |
to get the default host and display number. |
| |
|
147 |
|
| |
|
148 |
|
| |
|
149 |
__XENVIRONMENT__ |
| |
|
150 |
|
| |
|
151 |
|
| |
|
152 |
to get the name of a resource file that overrides the global |
| |
|
153 |
resources stored in the RESOURCE_MANAGER |
| |
|
154 |
property. |
| |
|
155 |
!!SEE ALSO |
| |
|
156 |
|
| |
|
157 |
|
| 4 |
perry |
158 |
X(1), xscreensaver(1) |
| 1 |
perry |
159 |
!!COPYRIGHT |
| |
|
160 |
|
| |
|
161 |
|
| |
|
162 |
Copyright 1992 by Jamie Zawinski. Permission to use, copy, |
| |
|
163 |
modify, distribute, and sell this software and its |
| |
|
164 |
documentation for any purpose is hereby granted without fee, |
| |
|
165 |
provided that the above copyright notice appear in all |
| |
|
166 |
copies and that both that copyright notice and this |
| |
|
167 |
permission notice appear in supporting documentation. No |
| |
|
168 |
representations are made about the suitability of this |
| |
|
169 |
software for any purpose. It is provided |
| |
|
170 |
!!AUTHOR |
| |
|
171 |
|
| |
|
172 |
|
| |
|
173 |
Jamie Zawinski |
| |
|
174 |
---- |