http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver] / hacks / config / ant.xml
index 4e300e7b0163145826d9099a59f58c1c93338454..b2a59928985a96bb17e67795df78a5ae59b52312 100644 (file)
@@ -4,44 +4,47 @@
 
   <command arg="-root"/>
 
 
   <command arg="-root"/>
 
-  <boolean id="sharpturn" _label="Sharp Turns" arg-set="-sharpturn"/>
-
-  <boolean id="truchet" _label="Truchet Lines" arg-set="-truchet"/>
-
-  <boolean id="eyes" _label="Draw Eyes" arg-set="-eyes"/>
-
   <number id="delay" type="slider" arg="-delay %"
   <number id="delay" type="slider" arg="-delay %"
-          _label="Speed" _low-label="Slow" _high-label="Fast"
-          low="0" high="80000" default="1000"
+          _label="Frame rate" _low-label="Low" _high-label="High"
+          low="0" high="100000" default="20000"
           convert="invert"/>
 
   <number id="cycles" type="slider" arg="-cycles %"
            _label="Timeout" _low-label="Small" _high-label="Large"
           low="0" high="800000" default="40000"/>
 
           convert="invert"/>
 
   <number id="cycles" type="slider" arg="-cycles %"
            _label="Timeout" _low-label="Small" _high-label="Large"
           low="0" high="800000" default="40000"/>
 
-  <number id="count" type="spinbutton" arg="-count %"
-          _label="Ants Count" low="-20" high="20" default="-3"/>
+  <hgroup>
+   <boolean id="sharpturn" _label="Sharp turns" arg-set="-sharpturn"/>
+   <boolean id="truchet" _label="Truchet lines" arg-set="-truchet"/>
+   <boolean id="eyes" _label="Draw eyes" arg-set="-eyes"/>
+  </hgroup>
 
 
-  <number id="size" type="spinbutton" arg="-size %"
-           _label="Ant Size" low="-18" high="18" default="-12"/>
+  <hgroup>
+   <number id="count" type="spinbutton" arg="-count %"
+           _label="Ants count" low="-20" high="20" default="-3"/>
+   <number id="size" type="spinbutton" arg="-size %"
+            _label="Ant size" low="-18" high="18" default="-12"/>
+  </hgroup>
 
   <select id="neighbors">
 
   <select id="neighbors">
-    <option id="rand" _label="Random Cell Shape"/>
-    <option id="three" _label="Three Sided Cells"
+    <option id="rand" _label="Random cell shape"/>
+    <option id="three" _label="Three sided cells"
             arg-set="-neighbors 3"/>
             arg-set="-neighbors 3"/>
-    <option id="four" _label="Four Sided Cells"
+    <option id="four" _label="Four sided cells"
             arg-set="-neighbors 4"/>
             arg-set="-neighbors 4"/>
-    <option id="six" _label="Six Sided Cells"
+    <option id="six" _label="Six sided cells"
             arg-set="-neighbors 6"/>
             arg-set="-neighbors 6"/>
-    <option id="nine" _label="Nine Sided Cells"
+    <option id="nine" _label="Nine sided cells"
             arg-set="-neighbors 9"/>
             arg-set="-neighbors 9"/>
-    <option id="twelve" _label="Twelve Sided Cells"
+    <option id="twelve" _label="Twelve sided cells"
             arg-set="-neighbors 12"/>
   </select>
 
   <number id="ncolors" type="slider" arg="-ncolors %"
             arg-set="-neighbors 12"/>
   </select>
 
   <number id="ncolors" type="slider" arg="-ncolors %"
-            _label="Number of Colors" _low-label="Two" _high-label="Many"
-            low="2" high="255" default="64"/>
+            _label="Number of colors" _low-label="Three" _high-label="Many"
+            low="3" high="255" default="64"/>
+
+  <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
 
   <_description>
 A cellular automaton that is really a two-dimensional Turing machine:
 
   <_description>
 A cellular automaton that is really a two-dimensional Turing machine:
@@ -49,6 +52,9 @@ as the heads ("ants") walk along the screen, they change pixel
 values in their path.  Then, as they pass over changed pixels, their
 behavior is influenced.
 
 values in their path.  Then, as they pass over changed pixels, their
 behavior is influenced.
 
+http://en.wikipedia.org/wiki/Langton%27s_ant
+http://en.wikipedia.org/wiki/Turing_machine
+
 Written by David Bagley; 1997.
   </_description>
 </screensaver>
 Written by David Bagley; 1997.
   </_description>
 </screensaver>