1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="hypertorus" _label="Hypertorus">
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" arg-set="-mode 0"/>
18 <option id="surface" _label="Solid surface" arg-set="-mode 1"/>
19 <option id="transparent" _label="Transparent surface"/>
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"/>
41 <option id="twosided" _label="Two-sided"/>
42 <option id="colorwheel" _label="Color wheel" arg-set="-colorwheel"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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.
107 http://en.wikipedia.org/wiki/N-sphere
108 http://en.wikipedia.org/wiki/Clifford_torus
109 http://en.wikipedia.org/wiki/Regular_polytope
111 Written by Carsten Steger; 2003.