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

sierpinski - draws Sierpinski triangle fractals

Author

       Desmond Daignault <tekdd@dtol.datatimes.com>, 05-Sep-96.  (Original xlock version was called tri.c.)

       Ability  to  run  standalone  or  with  xscreensaver  added  by  Jamie Zawinski <jwz@jwz.org>, 10-May-97.
       (Renamed to sierpinski.)

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

Description

       The sierpinski program draws Sierpinski triangle fractals.

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

       sierpinski - draws Sierpinski triangle fractals

Options

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

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

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

See Also

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

Synopsis

sierpinski  [--display host:display.screen] [--foreground color] [--background color] [--window] [--root]
       [--window-id number][--mono] [--install] [--visual visual]  [--ncolors  integer]  [--delay  microseconds]
       [--cycles integer] [--count integer]

       [--fps]

See Also