1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="hypertorus" _label="Hypertorus" gl="yes">
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"
12 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
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"/>
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"/>
43 <option id="twosided" _label="Two-sided" arg-set="-twosided"/>
44 <option id="colorwheel" _label="Color wheel"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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.
108 http://en.wikipedia.org/wiki/N-sphere
109 http://en.wikipedia.org/wiki/Clifford_torus
110 http://en.wikipedia.org/wiki/Regular_polytope
112 Written by Carsten Steger; 2003.