http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver] / hacks / config / hypercube.xml
index c9c19de1b15ddf9f368777af687a2d4fa9c66a05..178cd433bf034e068534d241d2149a2dd1ef67d9 100644 (file)
@@ -1,40 +1,40 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<screensaver name="hypercube" _label="Hypercube">
+<screensaver name="hypercube" _label="HyperCube">
 
   <command arg="-root"/>
 
 
   <command arg="-root"/>
 
-  <number id="speed" type="slider" arg="-delay %"
-          _label="Speed" _low-label="Slow" _high-label="Fast"
-          low="0" high="20000" default="10000"
-          convert="invert"/>
-
-  <number id="z" type="slider" arg="-observer-z %"
-          _label="Zoom" _low-label="Near" _high-label="Far"
-          low="1.125" high="10.0" default="3.0"/>
-
   <hgroup>
     <vgroup>
   <hgroup>
     <vgroup>
+      <number id="delay" type="slider" arg="-delay %"
+              _label="Frame rate" _low-label="Low" _high-label="High"
+              low="0" high="100000" default="10000"
+              convert="invert"/>
+
       <number id="xw" type="slider" arg="-xw %"
       <number id="xw" type="slider" arg="-xw %"
-              _label="XW Rotation" _low-label="Low" _high-label="High"
-              low="0" high="20" value="0"/>
+              _label="XW rotation" _low-label="Slow" _high-label="Fast"
+              low="0" high="20" default="0"/>
       <number id="xy" type="slider" arg="-xy %"
       <number id="xy" type="slider" arg="-xy %"
-              _label="XY Rotation" _low-label="Low" _high-label="High"
-              low="0" high="20" value="3"/>
+              _label="XY rotation" _low-label="Slow" _high-label="Fast"
+              low="0" high="20" default="3"/>
       <number id="xz" type="slider" arg="-xz %"
       <number id="xz" type="slider" arg="-xz %"
-              _label="XZ Rotation" _low-label="Low" _high-label="High"
-              low="0" high="20" value="5"/>
+              _label="XZ rotation" _low-label="Slow" _high-label="Fast"
+              low="0" high="20" default="5"/>
     </vgroup>
     <vgroup>
     </vgroup>
     <vgroup>
+      <number id="z" type="slider" arg="-observer-z %"
+              _label="Zoom" _low-label="Near" _high-label="Far"
+              low="1.125" high="10.0" default="3.0"/>
+
       <number id="yw" type="slider" arg="-yw %"
       <number id="yw" type="slider" arg="-yw %"
-              _label="YW Rotation" _low-label="Low" _high-label="High"
-              low="0" high="20" value="10"/>
+              _label="YW rotation" _low-label="Slow" _high-label="Fast"
+              low="0" high="20" default="10"/>
       <number id="yz" type="slider" arg="-yz %"
       <number id="yz" type="slider" arg="-yz %"
-              _label="YZ Rotation" _low-label="Low" _high-label="High"
-              low="0" high="20" value="0"/>
+              _label="YZ rotation" _low-label="Slow" _high-label="Fast"
+              low="0" high="20" default="0"/>
       <number id="zw" type="slider" arg="-zw %"
       <number id="zw" type="slider" arg="-zw %"
-              _label="ZW Rotation" _low-label="Low" _high-label="High"
-              low="0" high="20" value="0"/>
+              _label="ZW rotation" _low-label="Slow" _high-label="Fast"
+              low="0" high="20" default="0"/>
     </vgroup>
   </hgroup>
 
     </vgroup>
   </hgroup>
 
@@ -47,6 +47,8 @@
   <!-- #### -color6 [#00D0FF] -->
   <!-- #### -color7 [#00FFD0] -->
 
   <!-- #### -color6 [#00D0FF] -->
   <!-- #### -color7 [#00FFD0] -->
 
+  <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
+
   <_description>
 This displays 2D projections of the sequence of 3D objects which are
 the projections of the 4D analog to the cube: as a square is composed
   <_description>
 This displays 2D projections of the sequence of 3D objects which are
 the projections of the 4D analog to the cube: as a square is composed
@@ -55,6 +57,12 @@ six squares, each touching four others; a hypercube is composed of
 eight cubes, each touching six others.  To make it easier to
 visualize the rotation, it uses a different color for the edges of
 each face.  Don't think about it too long, or your brain will melt.
 eight cubes, each touching six others.  To make it easier to
 visualize the rotation, it uses a different color for the edges of
 each face.  Don't think about it too long, or your brain will melt.
-Written by Joe Keane, Fritz Mueller, and Jamie Zawinski.
+
+See also "polytopes" for a more general version of this using OpenGL.
+
+http://en.wikipedia.org/wiki/Hypercube
+http://en.wikipedia.org/wiki/Regular_polytope
+
+Written by Joe Keane, Fritz Mueller, and Jamie Zawinski; 1992.
   </_description>
 </screensaver>
   </_description>
 </screensaver>