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