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