petri(6)
β¨ NAME β¨
Okay bestie, this is petri(6) β an XScreenSaver manual page β and it's literally about mold growing in a petri dish. Yes, mold. On purpose. π β¨
petri simulates mold growing in a petri dish. That's the whole name vibe. π¦
π SYNOPSIS π
Here's the exact usage, bestie β code is code:
petri [--display host:display.screen] [--foreground color] [--background
color] [--window] [--root] [--window-id number][--mono] [--install]
[--visual visual] [--delay microseconds] [--size integer] [--mem-
throttle amount] [--count integer] [--originalcolors] [--diaglim real]
[--anychan real] [--minorchan real] [--instantdeathchan real]
[--minlifespeed real] [--maxlifespeed real] [--mindeathspeed real]
[--maxdeathspeed real] [--minlifespan integer] [--maxlifespan integer]
[--fps]
π§ DESCRIPTION π§
petri simulates mold growing in a petri dish via a state-heavy grid of automata (vaguely like Conway's Life, only with much more state per cell). It's giving "science experiment left in the fridge" but make it screensaver. π«Ά
π OPTIONS π
petri accepts the following options:
Tiny heads-up: the synopsis up top also shows --display, --foreground, and --background; this page doesn't give them separate description bullets, so I'm not inventing any. π
--windowβ Draw on a newly-created window. This is the default.--rootβ Draw on the root window.--window-idnumber β Draw on the specified window.--monoβ If on a color display, pretend we're on a monochrome display.--installβ Install a private colormap for the window.--visualvisual β Which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.--delaymicroseconds β The interframe delay, in microseconds. Defaults to10000, resourcedelay.--sizeinteger β The size of a cell in pixels. Defaults to4, resourcesize.--mem-throttleamount β The maximum amount of memory to consume, specified either in megabytes (suffix"M"), kilobytes (suffix"K"), or bytes (sans suffix). In order to meet the memory requirement, the cell size may be increased. Defaults to22M, resourcememThrottle.--countinteger β How many different varieties of mold to grow (including Black Death). Defaults to8, resourcecount.--originalcolorsβ If specified, indicates that the colors used should be the artist's original choices (a fixed set of primary and secondary colors). In this case,countmust be8or less. Defaults to not specified (i.e., false), resourceoriginalcolors.--diaglimreal β The age limit for diagonal growth as a multiplier of orthogonal growth (range1..2).1means square growth,1.414(i.e.,sqrt(2)) means approximately circular growth,2means diamond growth. Defaults to1.414, resourcediaglim.--anychanreal β The chance (range0..1) that at each iteration, one or more new cells will be born. Defaults to0.0015, resourceanychan.--minorchanreal β The chance (range0..1) that, given that new cells will be born, that only two will be added (hence being a minor cell birth event). Defaults to0.5, resourceminorchan.--instantdeathchanreal β The chance (range0..1) that, given that death and destruction will happen, that instead of using Black Death cells, death will come instantaneously. Defaults to0.2, resourceinstantdeathchan.--minlifespeedreal β The minimum speed for living cells as a fraction of the maximum possible speed (range0..1). Defaults to0.04, resourceminlifespeed.--maxlifespeedreal β The maximum speed for living cells as a fraction of the maximum possible speed (range0..1). Defaults to0.13, resourcemaxlifespeed.--mindeathspeedreal β The minimum speed for Black Death cells as a fraction of the maximum possible speed (range0..1). Defaults to0.42, resourcemindeathspeed.--maxdeathspeedreal β The maximum speed for Black Death cells as a fraction of the maximum possible speed (range0..1). Defaults to0.46, resourcemaxdeathspeed.--minlifespaninteger β The minimum lifespan for a colony, in iterations, before Black Death comes. Defaults to500, resourceminlifespan.--maxlifespaninteger β The maximum lifespan for a colony, in iterations, before Black Death comes. Defaults to1500, resourcemaxlifespan.--fpsβ Display the current frame rate and CPU load.
π¦ ENVIRONMENT π¦
Here's the environment tea:
DISPLAYβ to get the default host and display number.XENVIRONMENTβ to get the name of a resource file that overrides the global resources stored in theRESOURCE_MANAGERproperty.XSCREENSAVER_WINDOWβ The window ID to use with--root.
πΈ X RESOURCES πΈ
There are resource equivalents for each option, noted above. That's it, that's the section. π
β BUGS β
There are no known bugs in petri as of this writing. Iconic. π₯
π§ SEE ALSO π§
Go check xscreensaver(1) too, iykyk. π«Ά
π COPYRIGHT π
Legal tea time, bestie β here's the exact copyright and permission text:
Copyright Β© 1992-2000 by Dan Bornstein. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
π AUTHOR π
Dan Bornstein <danfuzz@milk.com>, 06-Jul-2000.
That's the whole petri(6) page, bestie. Signing off from X Version 11, version 6.15, dated 30-Mar-2026 π
β¨
π¦ where this page comes from
- alpine 3.24: xscreensaver-doc 6.15-r0 Β· GPL-2.0-or-later GPL-3.0-or-later 0BSD MIT
- arch rolling: xscreensaver 6.15-1 Β· LicenseRef-XScreenSaver
- nixpkgs unstable: xscreensaver 6.15
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms