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

flipflop - draws a grid of 3D squares that change positions

Author

       Kevin Ogden <kogden1@hotmail.com>. Some additional code by Sergio Gutierrez <sergut@gmail.com>.

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

Description

       Flipflop draws a grid of 3D colored tiles that change positions with each other.

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

       flipflop - draws a grid of 3D squares that change positions

Options

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

       --countnumber
               Number of tiles on the board. A value of "0" means "default". The default number of tiles depends
               on the size of the board and the mode: 95% of total tiles for  "tiles"  mode  and  80%  of  total
               sticks for "sticks" mode (e.g. 76 tiles or 64 sticks for a 9x9 board).

       --freenumber
               Number of tiles missing from the board. See -count.

       --sizenumber
               Number of tiles on each side of the board. Takes precedence over -size-x and -size-y. Default: 9.

       --size-xnumber
               Width (in tiles) of the board. Default: 9.

       --size-ynumber
               Length (in tiles) of the board. Default: 9.

       --spinnumber
               Angular velocity for the rotation of the board.

       --modesticks
               Draw hopping sticks instead of flipping tiles.

       --modetiles
               Draw flipping tiles. This is the default.

       --delaynumber
               Per-frame delay, in microseconds.  Default: 20000 (0.02 seconds.).

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

       --wireframe
               Only draw outlines.

       --texture|--no-texture
               Whether to texture the tiles with a screen grab or an image.

See Also

X(1), xscreensaver(1)

Synopsis

flipflop  [--display  host:display.screen]  [--visual  visual]  [--window]  [--root] [--window-id number]
       [--count number | --free number] [--size number] [--size-x  number]  [--size-y  number]  [--spin  number]
       [--mode sticks | tiles] [--delay number] [--wireframe] [--fps] [--texture]

See Also