1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="hypertorus" _label="Hypertorus">
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"/>
14 <select id="appearance">
15 <option id="solid" _label="Solid Object"
16 arg-set="-appearance 0"/>
17 <option id="bands" _label="See-Through Bands"/>
18 <option id="bands" _label="See-Through Spirals (1 Spiral)"
19 arg-set="-appearance 3"/>
20 <option id="bands" _label="See-Through Spirals (2 Spirals)"
21 arg-set="-appearance 4"/>
22 <option id="bands" _label="See-Through Spirals (4 Spirals)"
23 arg-set="-appearance 5"/>
24 <option id="bands" _label="See-Through Spirals (8 Spirals)"
25 arg-set="-appearance 6"/>
26 <option id="bands" _label="See-Through Spirals (16 Spirals)"
27 arg-set="-appearance 7"/>
33 <option id="twosided" _label="Two-Sided"/>
34 <option id="colorwheel" _label="Color Wheel" arg-set="-colorwheel"/>
37 <select id="projection3d">
38 <option id="perspective-3d" _label="Perspective 3d"/>
39 <option id="orthographic-3d" _label="Orthographic 3d"
40 arg-set="-orthographic-3d"/>
43 <select id="projection4d">
44 <option id="perspective-4d" _label="Perspective 4d"/>
45 <option id="orthographic-4d" _label="Orthographic 4d"
46 arg-set="-orthographic-4d"/>
54 <number id="speed-wx" type="slider" arg="-speed-wx %"
55 _label="WX Rotation Speed"
56 _low-label="-4.0" _high-label="4.0"
57 low="-4.0" high="4.0" default="1.1"/>
59 <number id="speed-wy" type="slider" arg="-speed-wy %"
60 _label="WY Rotation Speed"
61 _low-label="-4.0" _high-label="4.0"
62 low="-4.0" high="4.0" default="1.3"/>
64 <number id="speed-wz" type="slider" arg="-speed-wz %"
65 _label="WZ Rotation Speed"
66 _low-label="-4.0" _high-label="4.0"
67 low="-4.0" high="4.0" default="1.5"/>
73 <number id="speed-xy" type="slider" arg="-speed-xy %"
74 _label="XY Rotation Speed"
75 _low-label="-4.0" _high-label="4.0"
76 low="-4.0" high="4.0" default="1.7"/>
78 <number id="speed-xz" type="slider" arg="-speed-xz %"
79 _label="XZ Rotation Speed"
80 _low-label="-4.0" _high-label="4.0"
81 low="-4.0" high="4.0" default="1.9"/>
83 <number id="speed-yz" type="slider" arg="-speed-yz %"
84 _label="YZ Rotation Speed"
85 _low-label="-4.0" _high-label="4.0"
86 low="-4.0" high="4.0" default="2.1"/>
92 <number id="delay" type="slider" arg="-delay %"
93 _label="Display Speed" _low-label="Slow" _high-label="Fast"
94 low="0" high="40000" default="25000"
97 <boolean id="showfps" _label="Show Frames-per-Second" arg-set="-fps"/>
101 This program shows a rotating Clifford Torus: a torus lying on the
102 "surface" of a 4D hypersphere. Inspired by Thomas Banchoff's book
103 "Beyond the Third Dimension: Geometry, Computer Graphics, and Higher
104 Dimensions", Scientific American Library, 1990.
106 Written by Carsten Steger; 2003.