diff options
Diffstat (limited to 'hacks/config/glhanoi.xml')
-rw-r--r-- | hacks/config/glhanoi.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/hacks/config/glhanoi.xml b/hacks/config/glhanoi.xml new file mode 100644 index 0000000..6d9aec2 --- /dev/null +++ b/hacks/config/glhanoi.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<screensaver name="glhanoi" _label="GLHanoi" gl="yes"> + + <command arg="-root"/> + + <video href="https://www.youtube.com/watch?v=1qRCviRmsTY"/> + + <hgroup> + <vgroup> + <number id="delay" type="slider" arg="-delay %" + _label="Frame rate" _low-label="Low" _high-label="High" + low="0" high="100000" default="15000" convert="invert"/> + + <number id="count" type="slider" arg="-count %" + _label="Number of disks" _low-label="0" _high-label="31" + default="0" low="0" high="31"/> + + <number id="poles" type="slider" arg="-poles %" + _label="Number of poles" _low-label="0" _high-label="31" + default="0" low="3" high="31"/> + </vgroup> + + <vgroup> + <number id="speed" type="slider" arg="-speed %" + _label="Speed (of smallest disks)" _low-label="1" _high-label="20" + default="1" low="1" high="20"/> + + <number id="trails" type="slider" arg="-trails %" + _label="Length of disk trails" _low-label="0" _high-label="10" + default="2" low="0" high="10"/> + + <boolean id="fog" _label="Enable fog" arg-set="-fog"/> + + <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/> + + <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/> + + <boolean id="lighting" _label="Enable lighting" arg-unset="-no-light"/> + </vgroup> + </hgroup> + + <xscreensaver-updater /> + + <_description> +Solves the Towers of Hanoi puzzle. Move N disks from one pole to +another, one disk at a time, with no disk ever resting on a disk +smaller than itself. + +https://en.wikipedia.org/wiki/Tower_of_Hanoi + +Written by Dave Atkinson; 2005. + </_description> +</screensaver> |