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

gflux - rippling surface graphics hack

Author

       Josiah Pease <gflux@jpease.force9.co.uk>, 10-Jun-2000.

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

Description

       The gflux program draws a colourfull animated rippling square rotating in 3D space.

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

       gflux - rippling surface graphics hack

Options

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

       --squaresnum
               Specifies the size of the grid in squares. default 19

       --resolutionnum
               Specifies the wireframe detail of the squares. default 4

       --modemode
               Specifies the draw method: wireframe; solid (meaning a solid colored  surface);  light  (same  as
               solid,  but  with  lighting  effects);  checker  (a texture-mapped checkerboard pattern); or grab
               (meaning grab an image to manipulate.)

               When grabbing images, the image will be grabbed from the portion of  the  screen  underlying  the
               window,  or  from  the  system's  video input, or from a random file on disk, as indicated by the
               grabDesktopImages, grabVideoFrames, and chooseRandomImages options in the  ~/.xscreensaver  file;
               see xscreensaver-settings(1) for more details.

       --wireframe
               Same as "-mode wire".

       --flatnum
               0 for smooth shading 1 for flat. default 0

       --speednum
               Specifies speed of ripples flowing over the surface. default 0.05

       --rotationxnum--rotationynum--rotationznum
               Specifies the speed of rotation of the surface in these axis

       --wavesnum
               Specifies  the  number  of  ripple  centres  at  any  one time.  Values should be greater than 1.
               default 3

       --waveChangenum
               Specifies the duration of a ripple centre.  after this they fade away to be reborn elsewhere with
               a different frequency. default 50

       --waveHeightnum
               Specifies the height of ripples on the surface. default 1.0

       --waveFreqnum
               Specifies the maximum frequency of ripples. default 3.0

       --zoomnum
               Specifies the size of the viewport. Smaller values fill the screen with rippling surface. default
               1.0

       --delaymicroseconds
               How long to pause between frames.  Default is 20000, or 0.02 second.

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

See Also

X(1), xscreensaver(1) xscreensaver-settings(1), xscreensaver-getimage(6x)

Synopsis

gflux  [--display  host:display.screen]  [--window]  [--root]  [--window-id  number][--install] [--visual
       visual] [--delay microseconds] [--squares num] [--resolution num] [--mode  mode]  [--flat  num]  [--speed
       num] [--rotationx num] [--rotationy num] [--rotationz num] [--waves num] [--waveChange num] [--waveHeight
       num] [--waveFreq num] [--zoom num] [--wireframe] [--fps]

See Also