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