1
1
<?xml version="1.0" encoding="ISO-8859-1"?>
3
<screensaver name="hypercube" _label="Hypercube">
3
<screensaver name="hypercube" _label="HyperCube">
5
5
<command arg="-root"/>
7
<number id="delay" type="slider" arg="-delay %"
8
_label="Speed" _low-label="Slow" _high-label="Fast"
9
low="0" high="20000" default="10000"
12
<number id="z" type="slider" arg="-observer-z %"
13
_label="Zoom" _low-label="Near" _high-label="Far"
14
low="1.125" high="10.0" default="3.0"/>
9
<number id="delay" type="slider" arg="-delay %"
10
_label="Frame rate" _low-label="Low" _high-label="High"
11
low="0" high="100000" default="10000"
18
14
<number id="xw" type="slider" arg="-xw %"
19
_label="XW Rotation" _low-label="Low" _high-label="High"
15
_label="XW rotation" _low-label="Slow" _high-label="Fast"
20
16
low="0" high="20" default="0"/>
21
17
<number id="xy" type="slider" arg="-xy %"
22
_label="XY Rotation" _low-label="Low" _high-label="High"
18
_label="XY rotation" _low-label="Slow" _high-label="Fast"
23
19
low="0" high="20" default="3"/>
24
20
<number id="xz" type="slider" arg="-xz %"
25
_label="XZ Rotation" _low-label="Low" _high-label="High"
21
_label="XZ rotation" _low-label="Slow" _high-label="Fast"
26
22
low="0" high="20" default="5"/>
25
<number id="z" type="slider" arg="-observer-z %"
26
_label="Zoom" _low-label="Near" _high-label="Far"
27
low="1.125" high="10.0" default="3.0"/>
29
29
<number id="yw" type="slider" arg="-yw %"
30
_label="YW Rotation" _low-label="Low" _high-label="High"
30
_label="YW rotation" _low-label="Slow" _high-label="Fast"
31
31
low="0" high="20" default="10"/>
32
32
<number id="yz" type="slider" arg="-yz %"
33
_label="YZ Rotation" _low-label="Low" _high-label="High"
33
_label="YZ rotation" _low-label="Slow" _high-label="Fast"
34
34
low="0" high="20" default="0"/>
35
35
<number id="zw" type="slider" arg="-zw %"
36
_label="ZW Rotation" _low-label="Low" _high-label="High"
36
_label="ZW rotation" _low-label="Slow" _high-label="Fast"
37
37
low="0" high="20" default="0"/>
47
47
<!-- #### -color6 [#00D0FF] -->
48
48
<!-- #### -color7 [#00FFD0] -->
50
<boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
51
53
This displays 2D projections of the sequence of 3D objects which are
52
54
the projections of the 4D analog to the cube: as a square is composed
59
61
See also "polytopes" for a more general version of this using OpenGL.
63
http://en.wikipedia.org/wiki/Hypercube
64
http://en.wikipedia.org/wiki/Regular_polytope
61
66
Written by Joe Keane, Fritz Mueller, and Jamie Zawinski; 1992.