1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="glhanoi" _label="GLHanoi" gl="yes">
7 <video href="https://www.youtube.com/watch?v=1qRCviRmsTY"/>
11 <number id="delay" type="slider" arg="-delay %"
12 _label="Frame rate" _low-label="Low" _high-label="High"
13 low="0" high="100000" default="15000" convert="invert"/>
15 <number id="count" type="slider" arg="-count %"
16 _label="Number of disks" _low-label="0" _high-label="31"
17 default="0" low="0" high="31"/>
19 <number id="poles" type="slider" arg="-poles %"
20 _label="Number of poles" _low-label="0" _high-label="31"
21 default="0" low="3" high="31"/>
25 <number id="speed" type="slider" arg="-speed %"
26 _label="Speed (of smallest disks)" _low-label="1" _high-label="20"
27 default="1" low="1" high="20"/>
29 <number id="trails" type="slider" arg="-trails %"
30 _label="Length of disk trails" _low-label="0" _high-label="10"
31 default="2" low="0" high="10"/>
33 <boolean id="fog" _label="Enable fog" arg-set="-fog"/>
35 <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
37 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
39 <boolean id="lighting" _label="Enable lighting" arg-unset="-no-light"/>
43 <xscreensaver-updater />
46 Solves the Towers of Hanoi puzzle. Move N disks from one pole to
47 another, one disk at a time, with no disk ever resting on a disk
50 https://en.wikipedia.org/wiki/Tower_of_Hanoi
52 Written by Dave Atkinson; 2005.