2d0619596e2fc76d37ad059e92055914732c422e
[xscreensaver] / hacks / config / hypertorus.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="hypertorus" _label="Hypertorus" gl="yes">
4
5   <command arg="-root"/>
6
7   <hgroup>
8   <number id="delay" type="slider" arg="-delay %"
9           _label="Frame rate" _low-label="Low" _high-label="High"
10           low="0" high="100000" default="25000"
11           convert="invert"/>
12   <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
13   </hgroup>
14
15   <hgroup>
16     <select id="display-mode">
17       <option id="wire"        _label="Wireframe mesh"
18               arg-set="-mode wireframe"/>
19       <option id="surface"     _label="Solid surface"/>
20       <option id="transparent" _label="Transparent surface"
21               arg-set="-mode transparent"/>
22     </select>
23
24     <select id="appearance">
25       <option id="solid" _label="Solid object"
26               arg-set="-appearance solid"/>
27       <option id="bands" _label="See-through bands"/>
28       <option id="bands" _label="See-through spirals (1 spiral)"
29               arg-set="-appearance spirals-1"/>
30       <option id="bands" _label="See-through spirals (2 spirals)"
31               arg-set="-appearance spirals-2"/>
32       <option id="bands" _label="See-through spirals (4 spirals)"
33               arg-set="-appearance spirals-4"/>
34       <option id="bands" _label="See-through spirals (8 spirals)"
35               arg-set="-appearance spirals-8"/>
36       <option id="bands" _label="See-through spirals (16 spirals)"
37               arg-set="-appearance spirals-16"/>
38     </select>
39   </hgroup>
40
41   <hgroup>
42     <select id="colors">
43       <option id="twosided" _label="Two-sided" arg-set="-twosided"/>
44       <option id="colorwheel" _label="Color wheel"/>
45     </select>
46
47     <select id="projection3d">
48       <option id="perspective-3d" _label="Perspective 3D"/>
49       <option id="orthographic-3d" _label="Orthographic 3D"
50               arg-set="-orthographic-3d"/>
51     </select>
52
53     <select id="projection4d">
54       <option id="perspective-4d" _label="Perspective 4D"/>
55       <option id="orthographic-4d" _label="Orthographic 4D"
56               arg-set="-orthographic-4d"/>
57     </select>
58   </hgroup>
59
60   <hgroup>
61
62     <vgroup>
63
64       <number id="speed-wx" type="slider" arg="-speed-wx %"
65               _label="WX rotation speed"
66               _low-label="-4.0" _high-label="4.0"
67               low="-4.0" high="4.0" default="1.1"/>
68
69       <number id="speed-wy" type="slider" arg="-speed-wy %"
70               _label="WY rotation speed"
71               _low-label="-4.0" _high-label="4.0"
72               low="-4.0" high="4.0" default="1.3"/>
73
74       <number id="speed-wz" type="slider" arg="-speed-wz %"
75               _label="WZ rotation speed"
76               _low-label="-4.0" _high-label="4.0"
77               low="-4.0" high="4.0" default="1.5"/>
78
79     </vgroup>
80
81     <vgroup>
82
83       <number id="speed-xy" type="slider" arg="-speed-xy %"
84               _label="XY rotation speed"
85               _low-label="-4.0" _high-label="4.0"
86               low="-4.0" high="4.0" default="1.7"/>
87     
88       <number id="speed-xz" type="slider" arg="-speed-xz %"
89               _label="XZ rotation speed"
90               _low-label="-4.0" _high-label="4.0"
91               low="-4.0" high="4.0" default="1.9"/>
92     
93       <number id="speed-yz" type="slider" arg="-speed-yz %"
94               _label="YZ rotation speed"
95               _low-label="-4.0" _high-label="4.0"
96               low="-4.0" high="4.0" default="2.1"/>
97     
98     </vgroup>
99
100   </hgroup>
101
102   <_description>
103 This shows a rotating Clifford Torus: a torus lying on the
104 "surface" of a 4D hypersphere.  Inspired by Thomas Banchoff's book
105 "Beyond the Third Dimension: Geometry, Computer Graphics, and Higher
106 Dimensions", Scientific American Library, 1990.
107
108 http://en.wikipedia.org/wiki/N-sphere
109 http://en.wikipedia.org/wiki/Clifford_torus
110 http://en.wikipedia.org/wiki/Regular_polytope
111
112 Written by Carsten Steger; 2003.
113   </_description>
114 </screensaver>