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

substrate - Grow crystal-like lines on a computational substrate

Author

       J. Tarbell <complex@complexification.net>, Jun 2003.
       Mike Kershaw <dragorn@kismetwireless.net>, Oct 2004.

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

Description

       Lines like crystals grow on a computational  substrate.   A  simple  perpendicular  growth  rule  creates
       intricate  city-like  structures.   Optionally,  cracks  may also be circular, producing a cityscape more
       familiar to places for which city planning is a distant, theoretical concern.

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

       substrate - Grow crystal-like lines on a computational substrate

Options

substrate accepts the following options:

       --wireframe(Default:False)
               Don't draw sand-painting colored effects, only make a wireframe.

       --max-cyclescyclecount(Default:10000)
               Maximum number of growth cycles before restarting.  The higher this is, the more complex the art.

       --growth-delaydelayms(Default:18000)
               Delay in ms between growth cycles.  More delay, slower (but smoother and less CPU intensive) art.

       --initial-cracksnuminitial(Default:3)
               Initial number of cracks in the substrate

       --max-cracksnummax(Default:100)
               Maximum number of cracks in the substrate at a single time

       --sand-grainsnumgrains(Default:64)
               Number of sand grains dropped during coloring.  More grains cause a denser colour  but  use  more
               cpu power.

       --circle-percentcirclepercent(Default:0)
               The percentage of the cracks will be circular.

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

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

       --window
               Draw on a newly-created window.  This is the default.

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

See Also

X(1), xscreensaver(1)

Synopsis

substrate  [--display  host:display.screen]  [--visual  visual]  [--window] [--root] [--window-id number]
       [--foreground  color]  [--background  color]  [--wireframe]  [--max-cycles  cyclecount]   [--growth-delay
       delayms]  [--initial-cracks numinitial] [--max-cracks nummax] [--sand-grains numgrains] [--circle-percent
       circlepercent] [--fps]

See Also