64d7301a6395b3b16a2c1f10f1d310c84f38deed
[xscreensaver] / hacks / config / klein.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="klein" _label="Klein" gl="yes">
4
5   <command arg="-root"/>
6
7   <hgroup>
8   <number id="delay" type="slider" arg="-delay %"
9           _label="Frame rate" _low-label="Low" _high-label="High"
10           low="0" high="100000" default="10000"
11           convert="invert"/>
12   <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
13   </hgroup>
14
15   <hgroup>
16     <select id="kleinbottle">
17       <option id="random"   _label="Random"/>
18       <option id="figure-8" _label="Figure 8" arg-set="-klein-bottle figure-8"/>
19       <option id="lawson"   _label="Lawson"   arg-set="-klein-bottle lawson"/>
20     </select>
21
22     <select id="view-mode">
23       <option id="walk"      _label="Random"/>
24       <option id="walk"      _label="Walk"          arg-set="-view-mode walk"/>
25       <option id="turn"      _label="Turn"          arg-set="-view-mode turn"/>
26       <option id="walk-turn" _label="Walk and turn" arg-set="-view-mode walk-turn"/>
27     </select>
28
29     <boolean id="orientation-marks" _label="Show orientation marks"
30               arg-set="-orientation-marks"/>
31   </hgroup>
32
33   <hgroup>
34     <select id="display-mode">
35       <option id="random"      _label="Random"/>
36       <option id="wire"        _label="Wireframe mesh"      arg-set="-mode wireframe"/>
37       <option id="surface"     _label="Solid surface"       arg-set="-mode surface"/>
38       <option id="transparent" _label="Transparent surface" arg-set="-mode transparent"/>
39     </select>
40
41     <select id="appearance">
42       <option id="random" _label="Random"/>
43       <option id="solid"  _label="Solid object"       arg-set="-appearance solid"/>
44       <option id="bands"  _label="See-through bands"  arg-set="-appearance bands"/>
45     </select>
46   </hgroup>
47
48   <hgroup>
49     <select id="colors">
50       <option id="random"   _label="Random"/>
51       <option id="twosided" _label="Two-sided"       arg-set="-colors two-sided"/>
52       <option id="rainbow"  _label="Rainbow colors"  arg-set="-colors rainbow"/>
53       <option id="depth"    _label="4d depth colors" arg-set="-colors depth"/>
54     </select>
55
56     <select id="projection3d">
57       <option id="random"          _label="Random"/>
58       <option id="perspective-3d"  _label="Perspective 3D"  arg-set="-projection-3d perspective"/>
59       <option id="orthographic-3d" _label="Orthographic 3D" arg-set="-projection-3d orthographic"/>
60     </select>
61
62     <select id="projection4d">
63       <option id="random"          _label="Random"/>
64       <option id="perspective-4d"  _label="Perspective 4D"  arg-set="-projection-4d perspective"/>
65       <option id="orthographic-4d" _label="Orthographic 4D" arg-set="-projection-4d orthographic"/>
66     </select>
67   </hgroup>
68
69   <hgroup>
70     <vgroup>
71       <number id="speed-wx" type="slider" arg="-speed-wx %"
72               _label="WX rotation speed"
73               _low-label="-4.0" _high-label="4.0"
74               low="-4.0" high="4.0" default="1.1"/>
75
76       <number id="speed-wy" type="slider" arg="-speed-wy %"
77               _label="WY rotation speed"
78               _low-label="-4.0" _high-label="4.0"
79               low="-4.0" high="4.0" default="1.3"/>
80
81       <number id="speed-wz" type="slider" arg="-speed-wz %"
82               _label="WZ rotation speed"
83               _low-label="-4.0" _high-label="4.0"
84               low="-4.0" high="4.0" default="1.5"/>
85
86     <number id="walk-direction" type="slider" arg="-walk-direction %"
87             _label="Walking direction"
88             _low-label="-180.0" _high-label="180.0"
89             low="-180.0" high="180.0" default="7.0"/>
90     </vgroup>
91
92     <vgroup>
93       <number id="speed-xy" type="slider" arg="-speed-xy %"
94               _label="XY rotation speed"
95               _low-label="-4.0" _high-label="4.0"
96               low="-4.0" high="4.0" default="1.7"/>
97
98       <number id="speed-xz" type="slider" arg="-speed-xz %"
99               _label="XZ rotation speed"
100               _low-label="-4.0" _high-label="4.0"
101               low="-4.0" high="4.0" default="1.9"/>
102
103       <number id="speed-yz" type="slider" arg="-speed-yz %"
104               _label="YZ rotation speed"
105               _low-label="-4.0" _high-label="4.0"
106               low="-4.0" high="4.0" default="2.1"/>
107
108     <number id="walk-speed" type="slider" arg="-walk-speed %"
109             _label="Walking speed"
110             _low-label="1.0" _high-label="100.0"
111             low="1.0" high="100.0" default="20.0"/>
112     </vgroup>
113   </hgroup>
114
115   <_description>
116 This animates a Klein bottle, the 4D analog of a moebius strip.
117
118 You can walk on the surface of the bottle or rotate it in 4D or walk
119 on it while it rotates in 4D.  Inspired by Thomas Banchoff's book
120 "Beyond the Third Dimension: Geometry, Computer Graphics, and Higher
121 Dimensions", Scientific American Library, 1990.
122
123 http://en.wikipedia.org/wiki/Klein_bottle
124
125 Written by Carsten Steger; 2008.
126   </_description>
127 </screensaver>