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