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

truchet - draws curved or angular Truchet patterns

Author

       Adrian Likins, 1998.

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

Description

       The truchet program draws arc and line based Truchet patterns.

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

       truchet - draws curved or angular Truchet patterns

Options

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

       --delaymilliseconds
               How long to wait between drawing each screenful. Default is 1 seconds.

       --min-widthinteger
               The minimum width in pixels of each square. Default is 40.

       --min-heightinteger
               The minimum height in pixels of each square. Default is 40.

       --max-widthinteger
               The maximum width in pixels of each square. Default is 150.

       --max-heightinteger
               The maximum height in pixels of each square. Default is 150.

       --max-linewidthinteger
               The maximum width of the lines used to draw. Default is 25.

       --min-linewidthinteger
               The minimum width of the lines used to draw. Default is 2.

       --erase--no-erase
               Whether to clear the screen after each screenful is drawn. Default is True (erase).

       --erase-countinteger
               The number of screenfuls to draw before erasing. Default is 25.

       --square--not-square
               Whether to force the tiles to be square. Default is True (square).

       --curves--no-curves
               Whether to draw the arc based Truchet pattern. Default is True (curves).

       --angles--no-angles
               Whether or not to draw the line based Truchet pattern. Default is True (angles)

       --scroll
               Use the scroll mode. Default is False.

       --scroll-overlap
               The amount to scroll from one side to another. Default is 400.

       --anim-delay
               The time to pause between each animation step. Default is 100.

       --anim-step-size
               The amount of steps to skip between each animation step. Default is 3.

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

See Also

X(1), xscreensaver(1)

Synopsis

truchet  [--display  host:display.screen]   [--foreground color] [--background color] [--window] [--root]
       [--window-id number][--mono] [--install] [--visual visual] [--delay milliseconds]  [--min-width  integer]
       [--min-height  integer]  [--max-width  integer]  [--max-height integer] [--max-linewidth integer] [--min-
       linewidth integer] [--erase] [--no-erase] [--erase-count integer]  [--square]  [--not-square]  [--curves]
       [--no-curves]  [--angle]  [--no-angles]  [--scroll]  [--scroll-overlap  integer]  [--anim-delay  integer]
       [--anim-step-size integer]

       [--fps]

See Also