5
5
<command arg="-root"/>
7
8
<number id="delay" type="slider" arg="-delay %"
8
9
_label="Frame rate" _low-label="Low" _high-label="High"
9
low="0" high="100000" default="20000"
12
<number id="descent" type="slider" arg="-speed %"
13
_label="Duration" _low-label="Short" _high-label="Long"
14
low="2" high="500" default="150"
17
<boolean id="random" _label="Use randomized surfaces and primitives" arg-unset="-no-random"/>
18
<boolean id="wander" _label="Wander" arg-set="-wander"/>
19
<boolean id="spin" _label="Spin" arg-unset="-no-spin"/>
10
low="0" high="100000" default="10000"
20
12
<boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
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"/>
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"/>
29
<boolean id="orientation-marks" _label="Show orientation marks"
30
arg-set="-orientation-marks"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
23
This draws a visualization of a Klein bottle or some other interesting
116
This shows a 4D Klein bottle. You can walk on the Klein bottle or
117
rotate it in 4D or walk on it while it rotates in 4D. Inspired by
118
Thomas Banchoff's book "Beyond the Third Dimension: Geometry, Computer
119
Graphics, and Higher Dimensions", Scientific American Library, 1990.
26
121
http://en.wikipedia.org/wiki/Klein_bottle
28
Written by Andrey Mirtchovski; 2003.
123
Written by Carsten Steger; 2008.