1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="hyperball" _label="HyperBall">
7 <number id="delay" type="slider" arg="-delay %"
8 _label="Frame rate" _low-label="Low" _high-label="High"
9 low="0" high="100000" default="20000"
13 <number id="z" type="slider" arg="-observer-z %"
14 _label="Zoom" _low-label="Near" _high-label="Far"
15 low="1.125" high="10.0" default="3.0"/>
20 <number id="xw" type="slider" arg="-xw %"
21 _label="XW rotation" _low-label="Slow" _high-label="Fast"
22 low="0" high="20" default="0"/>
23 <number id="xy" type="slider" arg="-xy %"
24 _label="XY rotation" _low-label="Slow" _high-label="Fast"
25 low="0" high="20" default="3"/>
26 <number id="xz" type="slider" arg="-xz %"
27 _label="XZ rotation" _low-label="Slow" _high-label="Fast"
28 low="0" high="20" default="5"/>
31 <number id="yw" type="slider" arg="-yw %"
32 _label="YW rotation" _low-label="Slow" _high-label="Fast"
33 low="0" high="20" default="10"/>
34 <number id="yz" type="slider" arg="-yz %"
35 _label="YZ rotation" _low-label="Slow" _high-label="Fast"
36 low="0" high="20" default="0"/>
37 <number id="zw" type="slider" arg="-zw %"
38 _label="ZW rotation" _low-label="Slow" _high-label="Fast"
39 low="0" high="20" default="0"/>
43 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
46 Hyperball is to hypercube as dodecahedron is to cube: this displays
47 a 2D projection of the sequence of 3D objects which are the projections
48 of the 4D analog to the dodecahedron. Technically, it is a "120 cell
51 See also "polytopes" for a more general version of this using OpenGL.
53 http://en.wikipedia.org/wiki/Hypercube
54 http://en.wikipedia.org/wiki/Regular_polytope
56 Written by Joe Keane; 2000.