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

rd-bomb - reaction/diffusion textures

Author

       Scott Draves <spot@cs.cmu.edu>, Sep 1997

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

Description

       The rd-bomb program draws reaction/diffusion textures.

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.

History

       The code is derived from the 'd' mode of the "Bomb" visual musical instrument, also by Scott Draves.  The
       equations come from Xmorphia, which is based on a version of the Gray-Scott model taken from:

       John E. Pearson "Complex Patterns in a Simple System"
       Science, 261,189, 9 July 1993.

Name

       rd-bomb - reaction/diffusion textures

Options

       If one of the reaction, diffusion, radius, and palette options is set to  a  negative  value,  then  that
       option will be set to a random appropriate value.

       Be sure to try "-speed 1 -size 0.1 -epoch 3000".

       rd-bomb 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.

       --widthn--heightn
               Specify the size of the tile, in pixels.

       --reactionn--diffusionn
               These are constants in the equations that effect its visual nature.  Each may be one of 0, 1,  or
               2. Default is -1: these constants are chosen randomly.

       --radiusn
               Size of the seed.

       --sizef
               What  fraction of the window is actively drawn, a floating point number between 0 (exclusive) and
               1 (inclusive).  Default is 1.0.

       --speedf
               When a fraction of the screen is active, the active area moves at this  rate  (a  floating  point
               number).  Default is zero.  Suggested value: 1.0.

       --delaymillisecs
               How many milliseconds to delay between frames; default 1, or about 1/1000th of a second.

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

See Also

X(1), xscreensaver(1),
       https://scottdraves.com/bomb.html
       https://web.archive.org/web/19981206145216/http%3A//www.ccsf.caltech.edu/ismap/image.html

Synopsis

rd-bomb  [--display  host:display.screen]  [--foreground  color] [--background color] [--window] [--root]
       [--window-id number][--install] [--visual visual] [--width n] [--height n] [--reaction n] [--diffusion n]
       [--size f] [--speed f] [--delay millisecs] [--fps]

See Also