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