http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[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="delay" 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" default="0"/>
21       <number id="xy" type="slider" arg="-xy %"
22               _label="XY Rotation" _low-label="Low" _high-label="High"
23               low="0" high="20" default="3"/>
24       <number id="xz" type="slider" arg="-xz %"
25               _label="XZ Rotation" _low-label="Low" _high-label="High"
26               low="0" high="20" default="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" default="10"/>
32       <number id="yz" type="slider" arg="-yz %"
33               _label="YZ Rotation" _low-label="Low" _high-label="High"
34               low="0" high="20" default="0"/>
35       <number id="zw" type="slider" arg="-zw %"
36               _label="ZW Rotation" _low-label="Low" _high-label="High"
37               low="0" high="20" default="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
59 See also "polytopes" for a more general version of this using OpenGL.
60
61 Written by Joe Keane, Fritz Mueller, and Jamie Zawinski; 1992.
62   </_description>
63 </screensaver>