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