glcells - growing cells graphics hack
Contents
Copyright
Copyright © 2007 by Matthias Toussaint. 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.
Description
The glcells program draws cells that divide exponentially, eat and eventually die.
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
glcells - growing cells graphics hack
Options
glcells 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.
--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.
--pausenum
Specifies the pause at the end of the animation (all cells dead or maximum amount of cells
reached). Unit is in frames, default 20.
--maxcellsnum
Specifies the maximum number of cells on screen (dead cells also count, even if invisible).
Default is 800.
--radiusnum
Specifies the radius of the cells. Default is 40.
--seedsnum
Specifies the number of cells when animation starts. Default is 1.
--qualitynum
Specifies subdivision quality of the spheres used to draw the cells [0...5]. Default is 3.
--minfoodnum
Food is ditributed randomly on the screen (Yes, the cells need to eat). This parameter specifies
the minimum amount of food per pixel. Default is 5.
--maxfoodnum
Food is ditributed randomly on the screen (Yes, the cells need to eat). This parameter specifies
the maximum amount of food per pixel. Default is 20.
--divideagenum
Specifies the minimum age in frames a cell needs to have before being able to divide. Default is
20
--mindistnum
Specifies the minimum distance between cells. Default 1.4
--delaynum
How long to pause between frames. Default is 20000, or 0.02 second.
--fps Display the current frame rate, CPU load, and polygon count.
--wireframe
Draw wireframe only.
--keepold
Dead cells stay on screen.
See Also
X(1), xscreensaver(1) xscreensaver-settings(1), http://www.mtoussaint.de/bits.html
Synopsis
glcells [--display host:display.screen] [--window] [--root] [--window-id number][--install] [--visual
visual] [--delay num] [--pause num] [--maxcells num] [--radius num] [--seeds num] [--quality num]
[--minfood num] [--maxfood num] [--divideage num] [--mindist num] [--keepold] [--wireframe] [--fps]
