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

<screensaver name="cubetwist" _label="Cube Twist" gl="yes">

  <command arg="--root"/>

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

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

    <number id="speed" type="slider" arg="--speed %"
            _label="Animation speed" _low-label="Slow" _high-label="Fast"
            low="0.1" high="10" default="1.0"
            convert="ratio"/>
   </vgroup>
   <vgroup>
    <number id="thickness" type="slider" arg="--thickness %"
            _label="Thickness" _low-label="Thin" _high-label="Thick"
            low="0.0" high="0.5" default="0.0"/>

    <number id="displacement" type="slider" arg="--displacement %"
            _label="Displacement" _low-label="Tight" _high-label="Wide"
            low="0.0" high="0.5" default="0.0"/>
   </vgroup>
  </hgroup>

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

  <xscreensaver-updater />

  <_description>
A series of nested cubes rotate and slide recursively.

Written by Jamie Zawinski; 2016.
  </_description>
</screensaver>
