1petri(6x)                     XScreenSaver manual                    petri(6x)
2
3
4

NAME

6       petri - simulates mold growing in a petri dish
7

SYNOPSIS

9       petri  [--display  host:display.screen]  [--foreground  color] [--back‐
10       ground color] [--window] [--root] [--window-id  number][--mono]  [--in‐
11       stall]   [--visual  visual]  [--delay  microseconds]  [--size  integer]
12       [--mem-throttle amount] [--count integer] [--originalcolors] [--diaglim
13       real]  [--anychan  real]  [--minorchan  real] [--instantdeathchan real]
14       [--minlifespeed  real]  [--maxlifespeed  real]  [--mindeathspeed  real]
15       [--maxdeathspeed  real] [--minlifespan integer] [--maxlifespan integer]
16       [--fps]
17

DESCRIPTION

19       petri simulates mold growing in a petri dish via a state-heavy grid  of
20       automata  (vaguely  like  Conway's  Life, only with much more state per
21       cell).
22

OPTIONS

24       petri accepts the following options:
25
26       --window
27               Draw on a newly-created window.  This is the default.
28
29       --root  Draw on the root window.
30
31       --window-id number
32               Draw on the specified window.
33
34       --mono  If on a color display, pretend we're on a monochrome display.
35
36       --install
37               Install a private colormap for the window.
38
39       --visual visual
40               Which visual to use.  Legal values are the  name  of  a  visual
41               class, or the id number (decimal or hex) of a specific visual.
42
43       --delay microseconds
44               The  interframe  delay, in microseconds. Defaults to 10000, re‐
45               source delay.
46
47       --size integer
48               The size of a cell in pixels. Defaults to 4, resource size.
49
50       --mem-throttle amount
51               The maximum amount of memory to consume,  specified  either  in
52               megabytes  (suffix "M"), kilobytes (suffix "K"), or bytes (sans
53               suffix). In order to meet the memory requirement, the cell size
54               may be increased.  Defaults to 22M, resource memThrottle.
55
56       --count integer
57               How  many  different varieties of mold to grow (including Black
58               Death).  Defaults to 8, resource count.
59
60       --originalcolors
61               If specified, indicates that the  colors  used  should  be  the
62               artist's original choices (a fixed set of primary and secondary
63               colors). In this case, count must be 8 or less. Defaults to not
64               specified (i.e., false), resource originalcolors.
65
66       --diaglim real
67               The age limit for diagonal growth as a multiplier of orthogonal
68               growth (range  1..2).  1  means  square  growth,  1.414  (i.e.,
69               sqrt(2))  means  approximately circular growth, 2 means diamond
70               growth. Defaults to 1.414, resource diaglim.
71
72       --anychan real
73               The chance (range 0..1) that at each iteration, one or more new
74               cells will be born. Defaults to 0.0015, resource anychan.
75
76       --minorchan real
77               The  chance  (range  0..1)  that,  given that new cells will be
78               born, that only two will be added (hence  being  a  minor  cell
79               birth event).  Defaults to 0.5, resource minorchan.
80
81       --instantdeathchan real
82               The  chance (range 0..1) that, given that death and destruction
83               will happen, that instead of using  Black  Death  cells,  death
84               will  come instantaneously.  Defaults to 0.2, resource instant‐
85               deathchan.
86
87       --minlifespeed real
88               The minimum speed for living cells as a fraction of the maximum
89               possible  speed  (range  0..1). Defaults to 0.04, resource min‐
90               lifespeed.
91
92       --maxlifespeed real
93               The maximum speed for living cells as a fraction of the maximum
94               possible   speed  (range  0..1).  Defaults  to  0.13,  resource
95               maxlifespeed.
96
97       --mindeathspeed real
98               The minimum speed for Black Death cells as a  fraction  of  the
99               maximum possible speed (range 0..1). Defaults to 0.42, resource
100               mindeathspeed.
101
102       --maxdeathspeed real
103               The maximum speed for Black Death cells as a  fraction  of  the
104               maximum possible speed (range 0..1). Defaults to 0.46, resource
105               maxdeathspeed.
106
107       --minlifespan integer
108               The minimum lifespan for a colony, in iterations, before  Black
109               Death comes. Defaults to 500, resource minlifespan.
110
111       --maxlifespan integer
112               The  maximum lifespan for a colony, in iterations, before Black
113               Death comes. Defaults to 1500, resource maxlifespan.
114
115       --fps   Display the current frame rate and CPU load.
116

ENVIRONMENT

118       DISPLAY to get the default host and display number.
119
120       XENVIRONMENT
121               to get the name of a resource file that  overrides  the  global
122               resources stored in the RESOURCE_MANAGER property.
123
124       XSCREENSAVER_WINDOW
125               The window ID to use with --root.
126

X RESOURCES

128       There are resource equivalents for each option, noted above.
129

BUGS

131       There are no known bugs in petri as of this writing.
132

SEE ALSO

134       xscreensaver(1)
135
137       Copyright © 1992-2000 by Dan Bornstein.
138
139       Permission to use, copy, modify, distribute, and sell this software and
140       its documentation for any purpose is hereby granted without  fee,  pro‐
141       vided  that  the  above  copyright notice appear in all copies and that
142       both that copyright notice and this permission notice  appear  in  sup‐
143       porting documentation.  No representations are made about the suitabil‐
144       ity of this software for any purpose.  It is provided "as  is"  without
145       express or implied warranty.
146

AUTHOR

148       Dan Bornstein <danfuzz@milk.com>, 06-Jul-2000.
149
150
151
152X Version 11               6.08-1.fc38 (17-Oct-2023)                 petri(6x)
Impressum