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

pinion - draws a scrolling sequence of interconnected gears

Author

       Jamie Zawinski <jwz@jwz.org>, 12-Dec-2004.

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

Description

       The pinion program draws an interconnected set of gears moving across the screen.

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

       pinion - draws a scrolling sequence of interconnected gears

Options

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

       --spinratio
               How fast the gears should spin; default 1.0.  2.0 means twice as fast, 0.5 means half as fast.

       --scrollratio
               How fast the gears should scroll past the screen; default 1.0.  2.0  means  twice  as  fast,  0.5
               means half as fast.

       --sizeratio
               How  big  the gears should be, on average; default 1.0.  2.0 means twice as large, 0.5 means half
               as large.

       --max-rpminteger
               If any gear exceeds the maximum RPM, the current gear train is broken there, and we start  a  new
               train.  Default: 900 RPM.  (At 30 FPS, that's about half a rotation per frame.)

       --wireframe
               Render in wireframe instead of solid.

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

See Also

gears(6x), xscreensaver(1), X(1)

Synopsis

pinion  [--display  host:display.screen]  [--window]  [--root]  [--window-id number][--install] [--visual
       visual] [--delay usecs] [--scroll ratio] [--spin ratio]  [--size  ratio]  [--max-rpm  int]  [--wireframe]
       [--fps]

See Also