logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cloudlife - a cellular automaton based on Conway's Life

Author

       Don Marti <dmarti@zgp.org> 20 May 2003.

X Version 11                                   6.08 (10-Oct-2023)                                  cloudlife(6x)

Description

       The cloudlife program draws a cellular automaton based on Conway's Life, except that cells have a maximum
       age, and only one pixel per cell is drawn every tick.

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.

       XSCREENSAVER_WINDOW
               The window ID to use with --root.

Name

       cloudlife - a cellular automaton based on Conway's Life

Options

cloudlife accepts the following options:

       --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
               Specify which visual to use.  Legal values are the name of a  visual  class,  or  the  id  number
               (decimal or hex) of a specific visual.

       --cycle-delayinteger
               Time in microseconds to sleep between ticks.  Default 25000.

       --cycle-colorsinteger
               How many ticks should elapse between cycling colors.  0 to disable color cycling.  Default 2.

       --ncolorsinteger
               How many colors should be used (if possible).  Default 64.  The colors are chosen randomly.

       --cell-sizeinteger
               Size of each cell, in powers of 2.  Default 3 (8-pixel cells).

       --initial-densityinteger
               Percentage of cells that are alive at start and when the field is repopulated.  Default 30.

       --max-ageinteger
               Maximum age for a cell.  Default 64.

       --fps   Display the current frame rate and CPU load.

See Also

X(1), xscreensaver(1), xlock(1)

Synopsis

cloudlife  [--display  host:display.screen] [--foreground color] [--background color] [--window] [--root]
       [--window-id  number][--mono]  [--install]   [--visual   visual]   [--ncolors   integer]   [--cycle-delay
       microseconds]   [--cycle-colors  integer][--cell-size  integer]  [--initial-density  integer]  [--max-age
       integer]

       [--fps]

See Also