df7f92eebf41931967fcc0889fd66dac761cf9a8
[xscreensaver] / hacks / config / munch.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="munch" _label="Munch">
4
5   <command arg="-root"/>
6
7   <hgroup>
8    <vgroup>
9     <number id="delay" type="slider" arg="-delay %"
10             _label="Frame rate" _low-label="Low" _high-label="High"
11             low="0" high="100000" default="10000"
12             convert="invert"/>
13
14     <number id="duration" type="slider" arg="-clear %"
15             _label="Duration" _low-label="Short" _high-label="Long"
16             low="1" high="200" default="65"/>
17
18     <number id="simultaneous" type="slider" arg="-simul %"
19             _label="Simultaneous squares" _low-label="One" _high-label="Many"
20             low="1" high="20" default="5"/>
21    </vgroup>
22    <vgroup>
23     <select id="mismunch">
24       <option id="random"   _label="Munch or mismunch"/>
25       <option id="munch"    _label="Munch only"    arg-set="-classic"/>
26       <option id="mismunch" _label="Mismunch only" arg-set="-mismunch"/>
27     </select>
28
29     <select id="mode">
30       <option id="xor"   _label="XOR"/>
31       <option id="solid" _label="Solid" arg-set="-no-xor"/>
32     </select>
33
34     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
35    </vgroup>
36   </hgroup>
37
38   <_description>
39         DATAI 2
40         ADDB 1,2
41         ROTC 2,-22
42         XOR 1,2
43         JRST .-4
44
45 As reported by HAKMEM (MIT AI Memo 239, 1972), Jackson Wright wrote
46 the above PDP-1 code in 1962. That code still lives on here, some 46
47 years later.
48
49 In "mismunch" mode, it displays a creatively broken misimplementation
50 of the classic munching squares algorithm instead.
51
52 http://en.wikipedia.org/wiki/HAKMEM
53 http://en.wikipedia.org/wiki/Munching_square
54
55 Written by Jackson Wright, Tim Showalter, Jamie Zawinski and
56 Steven Hazel; 1997.
57   </_description>
58 </screensaver>