76fc447504ab616ff2879c2f4b6bb274657fe66b
[xscreensaver] / hacks / config / ant.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="ant" _label="Ant">
4
5   <command arg="-root"/>
6
7   <number id="delay" type="slider" arg="-delay %"
8           _label="Frame rate" _low-label="Low" _high-label="High"
9           low="0" high="100000" default="20000"
10           convert="invert"/>
11
12   <number id="cycles" type="slider" arg="-cycles %"
13            _label="Timeout" _low-label="Small" _high-label="Large"
14           low="0" high="800000" default="40000"/>
15
16   <hgroup>
17    <boolean id="sharpturn" _label="Sharp turns" arg-set="-sharpturn"/>
18    <boolean id="truchet" _label="Truchet lines" arg-set="-truchet"/>
19    <boolean id="eyes" _label="Draw eyes" arg-set="-eyes"/>
20   </hgroup>
21
22   <hgroup>
23    <number id="count" type="spinbutton" arg="-count %"
24            _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"/>
27   </hgroup>
28
29   <select id="neighbors">
30     <option id="rand" _label="Random cell shape"/>
31     <option id="three" _label="Three sided cells"
32             arg-set="-neighbors 3"/>
33     <option id="four" _label="Four sided cells"
34             arg-set="-neighbors 4"/>
35     <option id="six" _label="Six sided cells"
36             arg-set="-neighbors 6"/>
37     <option id="nine" _label="Nine sided cells"
38             arg-set="-neighbors 9"/>
39     <option id="twelve" _label="Twelve sided cells"
40             arg-set="-neighbors 12"/>
41   </select>
42
43   <number id="ncolors" type="slider" arg="-ncolors %"
44             _label="Number of colors" _low-label="Three" _high-label="Many"
45             low="3" high="255" default="64"/>
46
47   <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
48
49   <_description>
50 This screen saver was removed from the XScreenSaver distribution as of
51 version 4.22.
52
53 A cellular automaton that is really a two-dimensional Turing machine:
54 as the heads ("ants") walk along the screen, they change pixel
55 values in their path.  Then, as they pass over changed pixels, their
56 behavior is influenced.
57
58 http://en.wikipedia.org/wiki/Langton%27s_ant
59 http://en.wikipedia.org/wiki/Turing_machine
60
61 Written by David Bagley; 1997.
62   </_description>
63 </screensaver>