blob: 6d9aec2e2a8b33d0c8be78864ef3068d3cf369a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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>
|