http://www.jwz.org/xscreensaver/xscreensaver-5.10.tar.gz
[xscreensaver] / hacks / ant.man
1 .TH XScreenSaver 1 "" "X Version 11"
2 .SH NAME
3 ant - cellular automaton.
4 .SH SYNOPSIS
5 .B ant
6 [\-display \fIhost:display.screen\fP]
7 [\-visual \fIvisual\fP]
8 [\-window]
9 [\-install]
10 [\-noinstall]
11 [\-root]
12 [\-eyes]
13 [\-no-eyes]
14 [\-truchet]
15 [\-no-truchet]
16 [\-sharpturn]
17 [\-no-sharpturn]
18 [\-delay \fInumber\fP]
19 [\-cycles \fInumber\fP]
20 [\-count \fInumber\fP]
21 [\-size \fInumber\fP]
22 [\-neighbors 3]
23 [\-neighbors 4]
24 [\-neighbors 6]
25 [\-neighbors 9]
26 [\-neighbors 12]
27 [\-ncolors \fInumber\fP]
28 [\-fps]
29 .SH DESCRIPTION
30 A cellular automaton that is really a two-dimensional Turing machine: as
31 the heads ("ants") walk along the screen, they change pixel values in
32 their path. Then, as they pass over changed pixels, their behavior is
33 influenced.
34 .SH OPTIONS
35 .TP 8
36 .B \-visual \fIvisual\fP
37 Specify which visual to use.  Legal values are the name of a visual class,
38 or the id number (decimal or hex) of a specific visual.
39 .TP 8
40 .B \-window
41 Draw on a newly-created window.  This is the default.
42 .TP 8
43 .B \-root
44 Draw on the root window.
45 .TP 8
46 .B \-sharpturns | \-no-sharpturns
47 Whether to do sharp turns.
48 .TP 8
49 .B \-truchet | \-no-truchet
50 Whether to use truchet lines.
51 .TP 8
52 .B \-eyes | \-no-eyes
53 Whether to draw eyes on the ants.
54 .TP 8
55 .B \-delay \fInumber\fP
56 Per-frame delay, in microseconds.  Default: 1000 (0.0001 seconds.).
57 .TP 8
58 .B \-cycles \fInumber\fP
59 How long to wait until resetting.  0 - 800000.  Default: 40000.
60 .TP 8
61 .B \-count \fInumber\fP
62 Ants Count.  -20 - 20.  Default: -3.
63 .TP 8
64 .B \-size \fInumber\fP
65 Ant Size.  -18 - 18.  Default: -12.
66 .TP 8
67 .B \-neighbors \fIN\fP
68 How many neighbors each cell has.  Legal values are 3, 4, 6, 9, and 12.
69 .TP 8
70 .B \-ncolors \fInumber\fP
71 Number of colors.  Default: 64.
72 .TP 8
73 .B \-fps
74 Display the current frame rate and CPU load.
75 .SH ENVIRONMENT
76 .PP
77 .TP 8
78 .B DISPLAY
79 to get the default host and display number.
80 .TP 8
81 .B XENVIRONMENT
82 to get the name of a resource file that overrides the global resources
83 stored in the RESOURCE_MANAGER property.
84 .SH SEE ALSO
85 .BR X (1),
86 .BR xscreensaver (1)
87 .SH COPYRIGHT
88 Copyright \(co 2002 by David Bagley.  Permission to use, copy, modify, 
89 distribute, and sell this software and its documentation for any purpose is 
90 hereby granted without fee, provided that the above copyright notice appear 
91 in all copies and that both that copyright notice and this permission notice
92 appear in supporting documentation.  No representations are made about the 
93 suitability of this software for any purpose.  It is provided "as is" without
94 express or implied warranty.
95 .SH AUTHOR
96 David Bagley.