http://svn.poeml.de/viewvc/ppc/src-unpacked/xscreensaver/xscreensaver-4.12.tar.bz2...
[xscreensaver] / hacks / config / hypercube.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="hypercube" _label="Hypercube">
4
5   <command arg="-root"/>
6
7   <number id="speed" type="slider" arg="-delay %"
8           _label="Speed" _low-label="Slow" _high-label="Fast"
9           low="0" high="20000" default="10000"
10           convert="invert"/>
11
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"/>
15
16   <hgroup>
17     <vgroup>
18       <number id="xw" type="slider" arg="-xw %"
19               _label="XW Rotation" _low-label="Low" _high-label="High"
20               low="0" high="20" value="0"/>
21       <number id="xy" type="slider" arg="-xy %"
22               _label="XY Rotation" _low-label="Low" _high-label="High"
23               low="0" high="20" value="3"/>
24       <number id="xz" type="slider" arg="-xz %"
25               _label="XZ Rotation" _low-label="Low" _high-label="High"
26               low="0" high="20" value="5"/>
27     </vgroup>
28     <vgroup>
29       <number id="yw" type="slider" arg="-yw %"
30               _label="YW Rotation" _low-label="Low" _high-label="High"
31               low="0" high="20" value="10"/>
32       <number id="yz" type="slider" arg="-yz %"
33               _label="YZ Rotation" _low-label="Low" _high-label="High"
34               low="0" high="20" value="0"/>
35       <number id="zw" type="slider" arg="-zw %"
36               _label="ZW Rotation" _low-label="Low" _high-label="High"
37               low="0" high="20" value="0"/>
38     </vgroup>
39   </hgroup>
40
41   <!-- #### -color0 [magenta] -->
42   <!-- #### -color1 [yellow] -->
43   <!-- #### -color2 [#FF9300] -->
44   <!-- #### -color3 [#FF0093] -->
45   <!-- #### -color4 [green] -->
46   <!-- #### -color5 [#8080FF] -->
47   <!-- #### -color6 [#00D0FF] -->
48   <!-- #### -color7 [#00FFD0] -->
49
50   <_description>
51 This displays 2D projections of the sequence of 3D objects which are
52 the projections of the 4D analog to the cube: as a square is composed
53 of four lines, each touching two others; and a cube is composed of
54 six squares, each touching four others; a hypercube is composed of
55 eight cubes, each touching six others.  To make it easier to
56 visualize the rotation, it uses a different color for the edges of
57 each face.  Don't think about it too long, or your brain will melt.
58 Written by Joe Keane, Fritz Mueller, and Jamie Zawinski.
59
60 See also the "polytopes" hack for a more general version of this
61 using OpenGL.
62   </_description>
63 </screensaver>