summaryrefslogblamecommitdiffstats
path: root/hacks/config/cube21.xml
blob: f16d7fdcf338bc7f765b57d4f41b0d1a7f0c7e08 (plain) (tree)












































































                                                                              
<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="cube21" _label="Cube21" gl="yes">

  <command arg="-root"/>

  <video href="https://www.youtube.com/watch?v=AFtxL6--lTQ"/>

  <hgroup>
   <vgroup>

    <number id="speed" type="slider" arg="-delay %"
      _label="Frame rate" _low-label="Low" _high-label="High"
      low="0" high="100000" default="20000" convert="invert"/>

    <number id="cubesize" type="slider" arg="-cubesize %"
      _label="Cube size" _low-label="Small" _high-label="Large"
      low="0.4" high="1.0" default="0.7"/>  

    <number id="rotspeed" type="slider" arg="-rotspeed %"
      _label="Rotation" _low-label="Slow" _high-label="Fast"
      low="1.0" high="10.0" default="3.0"/>

    <select id="start">
      <option id="cube"    _label="Start as cube" arg-set="-no-randomize"/>
      <option id="shuffle" _label="Start as random shape"/>
    </select>

    <select id="colors">
      <option id="white" _label="White"  arg-set="-colormode white"/>
      <option id="one"   _label="Random color" arg-set="-colormode rnd"/>
      <option id="se"    _label="Silver edition" arg-set="-colormode se"/>
      <option id="two"   _label="Two random colors" arg-set="-colormode two"/>
      <option id="ce"    _label="Classic edition" arg-set="-colormode ce"/>
      <option id="six"   _label="Six random colors"/>
    </select>

   </vgroup>
   <vgroup>

    <number id="spinspeed" type="slider" arg="-spinspeed %"
      _label="Spin" _low-label="Slow" _high-label="Fast"
      low="0.01" high="4.0" default="1.0"/>

    <number id="wanderspeed" type="slider" arg="-wanderspeed %"
      _label="Wander" _low-label="Slow" _high-label="Fast"
      low="0.001" high="0.1" default="0.02"/>

    <number id="wait" type="slider" arg="-wait %"
      _label="Linger" _low-label="Short" _high-label="Long"
      low="10.0" high="100.0" default="40.0"/>

    <hgroup>
     <boolean id="spin"    _label="Spin"     arg-unset="-no-spin"/>
     <boolean id="wander"  _label="Wander"   arg-unset="-no-wander"/>
     <boolean id="tex"     _label="Outlines" arg-unset="-no-texture"/>
    </hgroup>
    <hgroup>
     <boolean id="wire"    _label="Wireframe"      arg-set="-wireframe"/>
     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
    </hgroup>

   </vgroup>
  </hgroup>

  <xscreensaver-updater />

  <_description>
The "Cube 21" Rubik-like puzzle, also known as "Square-1".
The rotations are chosen randomly.  See also the "Rubik",
"RubikBlocks" and "GLSnake" screen savers.

https://en.wikipedia.org/wiki/Square_One_%28puzzle%29

Written by Vasek Potocek; 2005.
  </_description>
</screensaver>