1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="hypertorus" _label="4D Hypertorus">
7 <select id="display-mode">
8 <option id="wire" _label="Wireframe Mesh"
10 <option id="surface" _label="Solid Surface"
12 <option id="transparent" _label="Transparent Surface"
13 arg-set="-transparent"/>
16 <select id="appearance">
17 <option id="solid" _label="Solid Object"
19 <option id="bands" _label="See-Through 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"/>
34 <option id="twosided" _label="Two-Sided"
36 <option id="colorwheel" _label="Color Wheel"
37 arg-set="-colorwheel"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"
101 <boolean id="showfps" _label="Show Frames-per-Second" arg-set="-fps"/>
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.