1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="ant" _label="Ant">
7 <boolean id="sharpturn" _label="Sharp Turns" arg-set="-sharpturn"/>
9 <boolean id="truchet" _label="Truchet Lines" arg-set="-truchet"/>
11 <boolean id="eyes" _label="Draw Eyes" arg-set="-eyes"/>
13 <number id="delay" type="slider" arg="-delay %"
14 _label="Speed" _low-label="Slow" _high-label="Fast"
15 low="0" high="80000" default="1000"
18 <number id="cycles" type="slider" arg="-cycles %"
19 _label="Timeout" _low-label="Small" _high-label="Large"
20 low="0" high="800000" default="40000"/>
22 <number id="count" type="spinbutton" arg="-count %"
23 _label="Ants Count" low="-20" high="20" default="-3"/>
25 <number id="size" type="spinbutton" arg="-size %"
26 _label="Ant Size" low="-18" high="18" default="-12"/>
28 <select id="neighbors">
29 <option id="rand" _label="Random Cell Shape"/>
30 <option id="three" _label="Three Sided Cells"
31 arg-set="-neighbors 3"/>
32 <option id="four" _label="Four Sided Cells"
33 arg-set="-neighbors 4"/>
34 <option id="six" _label="Six Sided Cells" enable="sharpturn"
35 arg-set="-neighbors 6"/>
36 <option id="nine" _label="Nine Sided Cells"
37 arg-set="-neighbors 9"/>
38 <option id="twelve" _label="Twelve Sided Cells" enable="sharpturn"
39 arg-set="-neighbors 12"/>
42 <number id="ncolors" type="slider" arg="-ncolors %"
43 _label="Number of Colors" _low-label="Two" _high-label="Many"
44 low="2" high="255" default="64"/>
47 A cellular automaton that is really a two-dimensional Turing machine:
48 as the heads (``ants'') walk along the screen, they change pixel
49 values in their path. Then, as they pass over changed pixels, their
50 behavior is influenced. Written by David Bagley.