1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="munch" _label="Munch">
7 <video href="https://www.youtube.com/watch?v=aXNIYpdh8Ug"/>
11 <number id="delay" type="slider" arg="-delay %"
12 _label="Frame rate" _low-label="Low" _high-label="High"
13 low="0" high="100000" default="10000"
16 <number id="duration" type="slider" arg="-clear %"
17 _label="Duration" _low-label="Short" _high-label="Long"
18 low="1" high="200" default="65"/>
20 <number id="simultaneous" type="slider" arg="-simul %"
21 _label="Simultaneous squares" _low-label="One" _high-label="Many"
22 low="1" high="20" default="5"/>
25 <select id="mismunch">
26 <option id="random" _label="Munch or mismunch"/>
27 <option id="munch" _label="Munch only" arg-set="-classic"/>
28 <option id="mismunch" _label="Mismunch only" arg-set="-mismunch"/>
32 <option id="xor" _label="XOR"/>
33 <option id="solid" _label="Solid" arg-set="-no-xor"/>
36 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
38 <xscreensaver-updater />
50 As reported by HAKMEM (MIT AI Memo 239, 1972), Jackson Wright wrote
51 the above PDP-1 code in 1962. That code still lives on here, some 46
54 In "mismunch" mode, it displays a creatively broken misimplementation
55 of the classic munching squares algorithm instead.
57 https://en.wikipedia.org/wiki/HAKMEM
58 https://en.wikipedia.org/wiki/Munching_square
60 Written by Jackson Wright, Tim Showalter, Jamie Zawinski and