Reference

gflux(6x)

rippling surface graphics hack

NAME

gflux - rippling surface graphics hack

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]

DESCRIPTION

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

OPTIONS

gflux accepts the following options:

--window

Draw on a newly-created window. This is the default.

--root

Draw on the root window.

--window-id number

Draw on the specified window.

--install

Install a private colormap for the window.

--visual visual

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.

--squares num

Specifies the size of the grid in squares. default 19

--resolution num

Specifies the wireframe detail of the squares. default 4

--mode mode

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

--flat num

0 for smooth shading 1 for flat. default 0

--speed num

Specifies speed of ripples flowing over the surface. default 0.05

--rotationx num --rotationy num --rotationz num

Specifies the speed of rotation of the surface in these axis

--waves num

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

--waveChange num

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

--waveHeight num

Specifies the height of ripples on the surface. default 1.0

--waveFreq num

Specifies the maximum frequency of ripples. default 3.0

--zoom num

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

--delay microseconds

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

--fps

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

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.

SEE ALSO

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

COPYRIGHT

Copyright © 2000 by Josiah Pease. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

AUTHOR

Josiah Pease <[email protected]>, 10-Jun-2000.

History

--delay since Debian 12 (Bookworm); --flat since Debian 12 (Bookworm); --fps since Debian 12 (Bookworm); --install since Debian 12 (Bookworm); --mode since Debian 12 (Bookworm); --resolution since Debian 12 (Bookworm); --root since Debian 12 (Bookworm); --rotationx since Debian 12 (Bookworm); --rotationy since Debian 12 (Bookworm); --rotationz since Debian 12 (Bookworm); --speed since Debian 12 (Bookworm); --squares since Debian 12 (Bookworm); --visual since Debian 12 (Bookworm); --waveChange since Debian 12 (Bookworm); --waveFreq since Debian 12 (Bookworm); --waveHeight since Debian 12 (Bookworm); --waves since Debian 12 (Bookworm); --window since Debian 12 (Bookworm); --window-id since Debian 12 (Bookworm); --wireframe since Debian 12 (Bookworm); --zoom since Debian 12 (Bookworm).

-delay until Debian 11 (Bullseye); -flat until Debian 11 (Bullseye); -fps until Debian 11 (Bullseye); -install until Debian 11 (Bullseye); -mode until Debian 11 (Bullseye); -resolution until Debian 11 (Bullseye); -root until Debian 11 (Bullseye); -rotationx until Debian 11 (Bullseye); -rotationy until Debian 11 (Bullseye); -rotationz until Debian 11 (Bullseye); -speed until Debian 11 (Bullseye); -squares until Debian 11 (Bullseye); -visual until Debian 11 (Bullseye); -waveChange until Debian 11 (Bullseye); -waveFreq until Debian 11 (Bullseye); -waveHeight until Debian 11 (Bullseye); -waves until Debian 11 (Bullseye); -window until Debian 11 (Bullseye); -wireframe until Debian 11 (Bullseye); -zoom until Debian 11 (Bullseye).