204e1b96586249b6f5fa2bf1169973cf25f196cb
[xscreensaver] / hacks / config / polytopes.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="polytopes" _label="Polytopes" gl="yes">
4
5  <command arg="-root"/>
6
7  <hgroup>
8   <select id="display-mode">
9    <option id="wire" _label="Wireframe mesh"
10            arg-set="-mode wireframe"/>
11    <option id="surface" _label="Solid surface"
12            arg-set="-mode surface"/>
13    <option id="transparent" _label="Transparent surface"/>
14   </select>
15
16   <select id="polytope">
17    <option id="random" _label="Random object"/>
18    <option id="cell-5" _label="5-cell (hyper-tetrahedron)"
19            arg-set="-polytope 5-cell"/>
20    <option id="cell-8" _label="8-cell (hypercube / tesseract)"
21            arg-set="-polytope 8-cell"/>
22    <option id="cell-16" _label="16-cell (hyper-octahedron)"
23            arg-set="-polytope 16-cell"/>
24    <option id="cell-24" _label="24-cell"
25            arg-set="-polytope 24-cell"/>
26    <option id="cell-120" _label="120-cell"
27            arg-set="-polytope 120-cell"/>
28    <option id="cell-600" _label="600-cell"
29            arg-set="-polytope 600-cell"/>
30   </select>
31 </hgroup>
32
33 <hgroup>
34   <select id="colors">
35    <option id="single" _label="Single color" arg-set="-single-color"/>
36    <option id="depth" _label="Colors By 4D Depth"/>
37   </select>
38
39   <select id="projection3d">
40    <option id="perspective-3d" _label="Perspective 3D"/>
41    <option id="orthographic-3d" _label="Orthographic 3D"
42            arg-set="-orthographic-3d"/>
43   </select>
44
45   <select id="projection4d">
46    <option id="perspective-4d" _label="Perspective 4D"/>
47    <option id="orthographic-4d" _label="Orthographic 4D"
48            arg-set="-orthographic-4d"/>
49   </select>
50 </hgroup>
51
52 <hgroup>
53   <vgroup>
54    <number id="speed-wx" type="slider" arg="-speed-wx %"
55            _label="WX rotation speed"
56            _low-label="-4.0" _high-label="4.0"
57            low="-4.0" high="4.0" default="1.1"/>
58
59    <number id="speed-wy" type="slider" arg="-speed-wy %"
60            _label="WY rotation speed"
61            _low-label="-4.0" _high-label="4.0"
62            low="-4.0" high="4.0" default="1.3"/>
63
64    <number id="speed-wz" type="slider" arg="-speed-wz %"
65            _label="WZ rotation speed"
66            _low-label="-4.0" _high-label="4.0"
67            low="-4.0" high="4.0" default="1.5"/>
68
69    <number id="delay" type="slider" arg="-delay %"
70            _label="Frame rate" _low-label="Low" _high-label="High"
71            low="0" high="100000" default="25000"
72            convert="invert"/>
73   </vgroup>
74   <vgroup>
75    <number id="speed-xy" type="slider" arg="-speed-xy %"
76            _label="XY rotation speed"
77            _low-label="-4.0" _high-label="4.0"
78            low="-4.0" high="4.0" default="1.7"/>
79
80    <number id="speed-xz" type="slider" arg="-speed-xz %"
81            _label="XZ rotation speed"
82            _low-label="-4.0" _high-label="4.0"
83            low="-4.0" high="4.0" default="1.9"/>
84
85    <number id="speed-yz" type="slider" arg="-speed-yz %"
86            _label="YZ rotation speed"
87            _low-label="-4.0" _high-label="4.0"
88            low="-4.0" high="4.0" default="2.1"/>
89
90    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
91   </vgroup>
92  </hgroup>
93
94  <_description>
95
96 This shows one of the six regular 4D polytopes rotating in 4D.
97
98 Inspired by H.S.M Coxeter's book "Regular Polytopes", 3rd Edition,
99 Dover Publications, Inc., 1973, and Thomas Banchoff's book "Beyond the
100 Third Dimension: Geometry, Computer Graphics, and Higher Dimensions",
101 Scientific American Library, 1990.
102
103 http://en.wikipedia.org/wiki/Hypercube
104 http://en.wikipedia.org/wiki/Tesseract
105 http://en.wikipedia.org/wiki/Regular_polytope
106
107 Written by Carsten Steger; 2003.
108   </_description>
109 </screensaver>