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"
18 arg-set="-mode wireframe"/>
19 <option id="surface" _label="Solid"/>
20 <option id="transparent" _label="Transparent"
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="Transparent bands"/>
28 <option id="bands" _label="1 transparent spiral"
29 arg-set="-appearance spirals-1"/>
30 <option id="bands" _label="2 transparent spirals"
31 arg-set="-appearance spirals-2"/>
32 <option id="bands" _label="4 transparent spirals"
33 arg-set="-appearance spirals-4"/>
34 <option id="bands" _label="8 transparent spirals"
35 arg-set="-appearance spirals-8"/>
36 <option id="bands" _label="16 Transparent spirals"
37 arg-set="-appearance spirals-16"/>
41 <option id="twosided" _label="Two-sided" arg-set="-twosided"/>
42 <option id="colorwheel" _label="Color wheel"/>
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"/>
100 <xscreensaver-updater />
103 A Clifford Torus: a torus lying on the "surface" of a 4D hypersphere.
104 Inspired by Thomas Banchoff's book "Beyond the Third Dimension:
105 Geometry, Computer Graphics, and Higher Dimensions", Scientific
106 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.