source: trunk/third/xscreensaver/hacks/petri.man @ 15683

Revision 15683, 5.0 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15682, which included commits to RCS files with non-trunk default branches.
Line 
1.TH XScreenSaver 1 "06-Jul-2000" "X Version 11"
2.SH NAME
3petri - simulates mold growing in a petri dish
4.SH SYNOPSIS
5.B petri
6[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install] [\-visual \fIvisual\fP] [\-delay \fImicroseconds\fP] [\-size \fIinteger\fP] [\-mem-throttle \fIamount\fP] [\-count \fIinteger\fP] [\-originalcolors] [\-diaglim \fIreal\fP] [\-anychan \fIreal\fP] [\-minorchan \fIreal\fP] [\-instantdeathchan \fIreal\fP] [\-minlifespeed \fIreal\fP] [\-maxlifespeed \fIreal\fP] [\-mindeathspeed \fIreal\fP] [\-maxdeathspeed \fIreal\fP] [\-minlifespan \fIinteger\fP] [\-maxlifespan \fIinteger\fP]
7.SH DESCRIPTION
8\fIpetri\fP simulates mold growing in a petri dish via a state-heavy grid
9of automata (vaguely like Conway's Life, only with much more state per
10cell).
11.SH OPTIONS
12.I petri
13accepts the following options:
14.TP 8
15.B \-window
16Draw on a newly-created window.  This is the default.
17.TP 8
18.B \-root
19Draw on the root window.
20.TP 8
21.B \-mono
22If on a color display, pretend we're on a monochrome display.
23.TP 8
24.B \-install
25Install a private colormap for the window.
26.TP 8
27.B \-visual \fIvisual\fP
28Which visual to use.  Legal values are the name of a visual class,
29or the id number (decimal or hex) of a specific visual.
30.TP 8
31.B \-delay \fImicroseconds\fP
32The interframe delay, in microseconds. Defaults to 10000, resource
33\fIdelay\fP.
34.TP 8
35.B \-size \fIinteger\fP
36The size of a cell in pixels. Defaults to 4, resource \fIsize\fP.
37.TP 8
38.B \-mem-throttle \fIamount\fP
39The maximum amount of memory to consume, specified either in megabytes
40(suffix "M"), kilobytes (suffix "K"), or bytes (sans suffix). In order
41to meet the memory requirement, the cell size may be increased.
42Defaults to 22M, resource \fImemThrottle\fP.
43.TP 8
44.B \-count \fIinteger\fP
45How many different varieties of mold to grow (including Black Death).
46Defaults to 8, resource \fIcount\fP.
47.TP 8
48.B \-originalcolors
49If specified, indicates that the colors used should be the artist's
50original choices (a fixed set of primary and secondary colors). In this
51case, count must be 8 or less. Defaults to not specified (i.e., false),
52resource \fIoriginalcolors\fP.
53.TP 8
54.B \-diaglim \fIreal\fP
55The age limit for diagonal growth as a multiplier of
56orthogonal growth (range 1..2). 1 means square growth, 1.414
57(i.e., \fIsqrt(2)\fP) means approximately circular growth, 2 means
58diamond growth. Defaults to 1.414, resource \fIdiaglim\fP.
59.TP 8
60.B \-anychan \fIreal\fP
61The chance (range 0..1) that at each iteration, one or more
62new cells will be born. Defaults to 0.0015, resource \fIanychan\fP.
63.TP 8
64.B \-minorchan \fIreal\fP
65The chance (range 0..1) that, given that new cells will be born, that only
66two will be added (hence being a minor cell birth event).
67Defaults to 0.5, resource \fIminorchan\fP.
68.TP 8
69.B \-instantdeathchan \fIreal\fP
70The chance (range 0..1) that, given that death and destruction will happen,
71that instead of using Black Death cells, death will come instantaneously.
72Defaults to 0.2, resource \fIinstantdeathchan\fP.
73.TP 8
74.B \-minlifespeed \fIreal\fP
75The minimum speed for living cells as a fraction of the maximum possible
76speed (range 0..1). Defaults to 0.04, resource \fIminlifespeed\fP.
77.TP 8
78.B \-maxlifespeed \fIreal\fP
79The maximum speed for living cells as a fraction of the maximum possible
80speed (range 0..1). Defaults to 0.13, resource \fImaxlifespeed\fP.
81.TP 8
82.B \-mindeathspeed \fIreal\fP
83The minimum speed for Black Death cells as a fraction of the maximum possible
84speed (range 0..1). Defaults to 0.42, resource \fImindeathspeed\fP.
85.TP 8
86.B \-maxdeathspeed \fIreal\fP
87The maximum speed for Black Death cells as a fraction of the maximum possible
88speed (range 0..1). Defaults to 0.46, resource \fImaxdeathspeed\fP.
89.TP 8
90.B \-minlifespan \fIinteger\fP
91The minimum lifespan for a colony, in iterations, before Black Death
92comes. Defaults to 500, resource \fIminlifespan\fP.
93.TP 8
94.B \-maxlifespan \fIinteger\fP
95The maximum lifespan for a colony, in iterations, before Black Death
96comes. Defaults to 1500, resource \fImaxlifespan\fP.
97.SH ENVIRONMENT
98.PP
99.TP 8
100.B DISPLAY
101to get the default host and display number.
102.TP 8
103.B XENVIRONMENT
104to get the name of a resource file that overrides the global resources
105stored in the RESOURCE_MANAGER property.
106.SH X RESOURCES
107There are resource equivalents for each option, noted above.
108.SH BUGS
109There are no known bugs in
110.I petri
111as of this writing.
112.SH SEE ALSO
113.BR xscreensaver (1)
114.SH COPYRIGHT
115Copyright \(co 1992-2000 by Dan Bornstein.
116
117Permission to use, copy, modify, distribute, and sell this software and its
118documentation for any purpose is hereby granted without fee, provided that
119the above copyright notice appear in all copies and that both that
120copyright notice and this permission notice appear in supporting
121documentation.  No representations are made about the suitability of this
122software for any purpose.  It is provided "as is" without express or
123implied warranty.
124.SH AUTHOR
125Dan Bornstein <danfuzz@milk.com>, 06-Jul-2000.
Note: See TracBrowser for help on using the repository browser.