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

gears - draw interlocking gears, for xscreensaver.

Author

       Jamie Zawinski.

       An earlier version of this program by Brian Paul was written in 1997; this  version  was  rewritten  from
       scratch by jwz in 2007.

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

Description

       This draws a set of rotating gears.

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

       gears - draw interlocking gears, for xscreensaver.

Options

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

       --delayusecs
               The delay between frames of the animation, in microseconds.  Default: 30000 (0.03 seconds.)

       --speedfloat
               Larger numbers mean run faster.  Default: 1.0.

       --no-spin
               Don't rotate the object.

       --no-wander
               Don't wander the object around the screen.

       --countinteger
               How many gears to draw.  Default: 0 for random.

       --wireframe
               Render in wireframe instead of solid.

       --fps   Display the current frame rate, CPU load, and polygon count.

See Also

X(1), xscreensaver(1)

Synopsis

gears  [--display  host:display.screen]  [--window]  [--root]  [--window-id  number][--install] [--visual
       visual] [--delay usecs] [--speed float] [--no-spin] [--no-wander] [-count integer] [-wireframe] [-fps]

See Also