<?xml version="1.0" encoding="UTF-8"?>

<screensaver name="gears" _label="Gears" gl="yes">

  <command arg="--root"/>

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

  <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="Speed" _low-label="Slow" _high-label="Fast"
          low="0.01" high="5.0" default="1.0"
          convert="ratio"/>

  <number id="count" type="slider" arg="--count %"
          _label="Gear count" _low-label="0" _high-label="20"
           low="0" high="20" default="0"/>

  <hgroup>
   <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>
Interlocking gears.

See also the "Pinion" and "Möbius Gears" screen savers.

https://en.wikipedia.org/wiki/Involute_gear
https://en.wikipedia.org/wiki/Epicyclic_gearing

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