http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver] / hacks / config / polytopes.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="polytopes" _label="Polytopes">
4
5  <command arg="-root"/>
6
7  <hgroup>
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"/>
12   </select>
13
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"/>
28   </select>
29 </hgroup>
30
31 <hgroup>
32   <select id="colors">
33    <option id="single" _label="Single color"
34            arg-set="-single-color"/>
35    <option id="depth" _label="Colors By 4D Depth"/>
36   </select>
37
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"/>
42   </select>
43
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"/>
48   </select>
49 </hgroup>
50
51 <hgroup>
52   <vgroup>
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"/>
57
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"/>
62
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"/>
67
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"
71            convert="invert"/>
72   </vgroup>
73   <vgroup>
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"/>
78
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"/>
83
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"/>
88
89    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
90   </vgroup>
91  </hgroup>
92
93  <_description>
94
95 This shows one of the six regular 4D polytopes rotating in 4D.
96 Inspired by H.S.M Coxeter's book "Regular Polytopes", 3rd Edition,
97 Dover Publications, Inc., 1973, and Thomas Banchoff's book "Beyond the
98 Third Dimension: Geometry, Computer Graphics, and Higher Dimensions",
99 Scientific American Library, 1990.
100
101 http://en.wikipedia.org/wiki/Hypercube
102 http://en.wikipedia.org/wiki/Regular_polytope
103
104 Written by Carsten Steger; 2003.
105   </_description>
106 </screensaver>