petri(6x)
π petri(6x) β the mold girlies are THRIVING β¨
Okay bestie, so this is a little XScreenSaver situation called petri, and I need you to understand it because it's honestly iconic. It's lowkey a whole vibe. π¦
πΈ SYNOPSIS
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
So petri simulates mold growing in a petri dish πΏ β and not in a cute aesthetic way, in a state-heavy grid of automata kind of way. Picture Conway's Life but each cell is carrying way more state, like it's got main character energy and a skincare routine and a diary. It's giving "vaguely like Conway's Life, only with much more state per cell." Obsessed. π
β¨ OPTIONS β¨
petri accepts the following options, bestie:
--windowβ Draw on a newly-created window. This is literally the default, so like, you're already doing this. π--rootβ Draw on the root window. Going fullscreen desktop-mold, no cap.--window-id numberβ Draw on the specified window. You pick the window, it draws there. iykyk.--monoβ If you're on a color display, pretend we're on a monochrome display. Delulu is the solulu. π--installβ Install a private colormap for the window. Very exclusive, VIP colormap situation.--visual visualβ Which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. Pick your vibe.--delay microsecondsβ The interframe delay, in microseconds. Defaults to10000, resourcedelay.--size integerβ The size of a cell in pixels. Defaults to4, resourcesize.--mem-throttle amountβ 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. She's on a budget bestie, she respects the limit. π--count integerβ How many different varieties of mold to grow (including Black Death). Defaults to8, resourcecount. A whole friend group of mold. π--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. Respect the artist's vision, periodt. π--diaglim realβ 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. Geometry era. π--anychan realβ The chance (range0..1) that at each iteration, one or more new cells will be born. Defaults to0.0015, resourceanychan. Baby mold incoming π±--minorchan realβ 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. Small batch, artisanal mold.--instantdeathchan realβ 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. The drama of it all. π--minlifespeed realβ The minimum speed for living cells as a fraction of the maximum possible speed (range0..1). Defaults to0.04, resourceminlifespeed.--maxlifespeed realβ The maximum speed for living cells as a fraction of the maximum possible speed (range0..1). Defaults to0.13, resourcemaxlifespeed.--mindeathspeed realβ The minimum speed for Black Death cells as a fraction of the maximum possible speed (range0..1). Defaults to0.42, resourcemindeathspeed.--maxdeathspeed realβ The maximum speed for Black Death cells as a fraction of the maximum possible speed (range0..1). Defaults to0.46, resourcemaxdeathspeed. Black Death is fast, ngl.--minlifespan integerβ The minimum lifespan for a colony, in iterations, before Black Death comes. Defaults to500, resourceminlifespan.--maxlifespan integerβ The maximum lifespan for a colony, in iterations, before Black Death comes. Defaults to1500, resourcemaxlifespan. Live your truth queen, but the clock is ticking β³--fpsβ Display the current frame rate and CPU load. Performance check bestie, slay. π₯
π ENVIRONMENT
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. So like, every flag has a matching resource name, all listed in the options. Easy peasy. π
π¦ BUGS
There are no known bugs in petri as of this writing. She's flawless, your honor. β¨
π§ SEE ALSO
π COPYRIGHT
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.
π Okay that's the whole manual bestie, go grow some mold, respect the Black Death timeline, and hydrate. X Version 11, 6.09 (07-Jun-2024) β petri(6x) out. Periodt. π
π¦ where this page comes from
- debian trixie: xscreensaver-data-extra 6.09+dfsg1-1 Β· Other_1
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms