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