Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
petri(1)
Edit
PageHistory
Diff
Info
LikePages
XScreenSaver !!!XScreenSaver NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT X RESOURCES BUGS SEE ALSO COPYRIGHT AUTHOR ---- !!NAME petri - simulates mold growing in a petri dish !!SYNOPSIS __petri__ [[-display ''host:display.screen''] [[-foreground ''color''] [[-background ''color''] [[-window] [[-root] [[-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''] !!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). !!OPTIONS ''petri'' accepts the following options: __-window__ Draw on a newly-created window. This is the default. __-root__ Draw on the root window. __-mono__ If on a color display, pretend we're on a monochrome display. __-install__ Install a private colormap for the window. __-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. __-delay__ ''microseconds'' The interframe delay, in microseconds. Defaults to 10000, resource ''delay''. __-size__ ''integer'' The size of a cell in pixels. Defaults to 4, resource ''size''. __-mem-throttle__ ''amount'' The maximum amount of memory to consume, specified either in megabytes (suffix memThrottle''. __-count__ ''integer'' How many different varieties of mold to grow (including Black Death). Defaults to 8, resource ''count''. __-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, count must be 8 or less. Defaults to not specified (i.e., false), resource ''originalcolors''. __-diaglim__ ''real'' The age limit for diagonal growth as a multiplier of orthogonal growth (range 1..2). 1 means square growth, 1.414 (i.e., ''sqrt(2)'') means approximately circular growth, 2 means diamond growth. Defaults to 1.414, resource ''diaglim''. __-anychan__ ''real'' The chance (range 0..1) that at each iteration, one or more new cells will be born. Defaults to 0.0015, resource ''anychan''. __-minorchan__ ''real'' The chance (range 0..1) that, given that new cells will be born, that only two will be added (hence being a minor cell birth event). Defaults to 0.5, resource ''minorchan''. __-instantdeathchan__ ''real'' The chance (range 0..1) that, given that death and destruction will happen, that instead of using Black Death cells, death will come instantaneously. Defaults to 0.2, resource ''instantdeathchan''. __-minlifespeed__ ''real'' The minimum speed for living cells as a fraction of the maximum possible speed (range 0..1). Defaults to 0.04, resource ''minlifespeed''. __-maxlifespeed__ ''real'' The maximum speed for living cells as a fraction of the maximum possible speed (range 0..1). Defaults to 0.13, resource ''maxlifespeed''. __-mindeathspeed__ ''real'' The minimum speed for Black Death cells as a fraction of the maximum possible speed (range 0..1). Defaults to 0.42, resource ''mindeathspeed''. __-maxdeathspeed__ ''real'' The maximum speed for Black Death cells as a fraction of the maximum possible speed (range 0..1). Defaults to 0.46, resource ''maxdeathspeed''. __-minlifespan__ ''integer'' The minimum lifespan for a colony, in iterations, before Black Death comes. Defaults to 500, resource ''minlifespan''. __-maxlifespan__ ''integer'' The maximum lifespan for a colony, in iterations, before Black Death comes. Defaults to 1500, resource ''maxlifespan''. !!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 the RESOURCE_MANAGER property. !!X RESOURCES There are resource equivalents for each option, noted above. !!BUGS There are no known bugs in ''petri'' as of this writing. !!SEE ALSO xscreensaver(1) !!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 !!AUTHOR Dan Bornstein ----
2 pages link to
petri(1)
:
xscreensaver(1)
Man1p
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.