1
1
<?xml version="1.0" encoding="ISO-8859-1"?>
3
<screensaver name="polytopes" _label="Regular 4D Polytopes">
8
<select id="display-mode">
9
<option id="wire" _label="Wireframe Mesh" arg-set="-mode 0"/>
10
<option id="surface" _label="Solid Surface" arg-set="-mode 1"/>
11
<option id="transparent" _label="Transparent Surface"/>
14
<select id="polytope">
15
<option id="random" _label="Random Object"/>
16
<option id="cell-5" _label="5-Cell (Hyper-Tetrahedron)"
17
arg-set="-polytope 0"/>
18
<option id="cell-8" _label="8-Cell (Hypercube / Tesseract)"
19
arg-set="-polytope 1"/>
20
<option id="cell-16" _label="16-Cell (Hyper-Octahedron)"
21
arg-set="-polytope 2"/>
22
<option id="cell-24" _label="24-Cell"
23
arg-set="-polytope 3"/>
24
<option id="cell-120" _label="120-Cell"
25
arg-set="-polytope 4"/>
26
<option id="cell-600" _label="600-Cell"
27
arg-set="-polytope 5"/>
33
<option id="single" _label="Single Color"
34
arg-set="-single-color"/>
35
<option id="depth" _label="Colors By 4D Depth"/>
38
<select id="projection3d">
39
<option id="perspective-3d" _label="Perspective 3d"/>
40
<option id="orthographic-3d" _label="Orthographic 3d"
41
arg-set="-orthographic-3d"/>
44
<select id="projection4d">
45
<option id="perspective-4d" _label="Perspective 4d"/>
46
<option id="orthographic-4d" _label="Orthographic 4d"
47
arg-set="-orthographic-4d"/>
55
<number id="speed-wx" type="slider" arg="-speed-wx %"
56
_label="WX Rotation Speed"
57
_low-label="-4.0" _high-label="4.0"
58
low="-4.0" high="4.0" default="1.1"/>
60
<number id="speed-wy" type="slider" arg="-speed-wy %"
61
_label="WY Rotation Speed"
62
_low-label="-4.0" _high-label="4.0"
63
low="-4.0" high="4.0" default="1.3"/>
65
<number id="speed-wz" type="slider" arg="-speed-wz %"
66
_label="WZ Rotation Speed"
67
_low-label="-4.0" _high-label="4.0"
68
low="-4.0" high="4.0" default="1.5"/>
74
<number id="speed-xy" type="slider" arg="-speed-xy %"
75
_label="XY Rotation Speed"
76
_low-label="-4.0" _high-label="4.0"
77
low="-4.0" high="4.0" default="1.7"/>
79
<number id="speed-xz" type="slider" arg="-speed-xz %"
80
_label="XZ Rotation Speed"
81
_low-label="-4.0" _high-label="4.0"
82
low="-4.0" high="4.0" default="1.9"/>
84
<number id="speed-yz" type="slider" arg="-speed-yz %"
85
_label="YZ Rotation Speed"
86
_low-label="-4.0" _high-label="4.0"
87
low="-4.0" high="4.0" default="2.1"/>
93
<number id="delay" type="slider" arg="-delay %"
94
_label="Display Speed" _low-label="Slow" _high-label="Fast"
95
low="0" high="40000" default="25000"
98
<boolean id="showfps" _label="Show Frames-per-Second" arg-set="-fps"/>
102
This program shows one of the six regular 4D polytopes rotating in 4D.
3
<screensaver name="polytopes" _label="Polytopes">
8
<select id="display-mode">
9
<option id="wire" _label="Wireframe mesh" arg-set="-mode 0"/>
10
<option id="surface" _label="Solid surface" arg-set="-mode 1"/>
11
<option id="transparent" _label="Transparent surface"/>
14
<select id="polytope">
15
<option id="random" _label="Random object"/>
16
<option id="cell-5" _label="5-cell (hyper-tetrahedron)"
17
arg-set="-polytope 0"/>
18
<option id="cell-8" _label="8-cell (hypercube / tesseract)"
19
arg-set="-polytope 1"/>
20
<option id="cell-16" _label="16-cell (hyper-octahedron)"
21
arg-set="-polytope 2"/>
22
<option id="cell-24" _label="24-cell"
23
arg-set="-polytope 3"/>
24
<option id="cell-120" _label="120-cell"
25
arg-set="-polytope 4"/>
26
<option id="cell-600" _label="600-cell"
27
arg-set="-polytope 5"/>
33
<option id="single" _label="Single color"
34
arg-set="-single-color"/>
35
<option id="depth" _label="Colors By 4D Depth"/>
38
<select id="projection3d">
39
<option id="perspective-3d" _label="Perspective 3D"/>
40
<option id="orthographic-3d" _label="Orthographic 3D"
41
arg-set="-orthographic-3d"/>
44
<select id="projection4d">
45
<option id="perspective-4d" _label="Perspective 4D"/>
46
<option id="orthographic-4d" _label="Orthographic 4D"
47
arg-set="-orthographic-4d"/>
53
<number id="speed-wx" type="slider" arg="-speed-wx %"
54
_label="WX rotation speed"
55
_low-label="-4.0" _high-label="4.0"
56
low="-4.0" high="4.0" default="1.1"/>
58
<number id="speed-wy" type="slider" arg="-speed-wy %"
59
_label="WY rotation speed"
60
_low-label="-4.0" _high-label="4.0"
61
low="-4.0" high="4.0" default="1.3"/>
63
<number id="speed-wz" type="slider" arg="-speed-wz %"
64
_label="WZ rotation speed"
65
_low-label="-4.0" _high-label="4.0"
66
low="-4.0" high="4.0" default="1.5"/>
68
<number id="delay" type="slider" arg="-delay %"
69
_label="Frame rate" _low-label="Low" _high-label="High"
70
low="0" high="100000" default="25000"
74
<number id="speed-xy" type="slider" arg="-speed-xy %"
75
_label="XY rotation speed"
76
_low-label="-4.0" _high-label="4.0"
77
low="-4.0" high="4.0" default="1.7"/>
79
<number id="speed-xz" type="slider" arg="-speed-xz %"
80
_label="XZ rotation speed"
81
_low-label="-4.0" _high-label="4.0"
82
low="-4.0" high="4.0" default="1.9"/>
84
<number id="speed-yz" type="slider" arg="-speed-yz %"
85
_label="YZ rotation speed"
86
_low-label="-4.0" _high-label="4.0"
87
low="-4.0" high="4.0" default="2.1"/>
89
<boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
95
This shows one of the six regular 4D polytopes rotating in 4D.
103
96
Inspired by H.S.M Coxeter's book "Regular Polytopes", 3rd Edition,
104
97
Dover Publications, Inc., 1973, and Thomas Banchoff's book "Beyond the
105
98
Third Dimension: Geometry, Computer Graphics, and Higher Dimensions",
106
99
Scientific American Library, 1990.
101
http://en.wikipedia.org/wiki/Hypercube
102
http://en.wikipedia.org/wiki/Regular_polytope
108
104
Written by Carsten Steger; 2003.