fluidballs - the physics of bouncing balls.
Contents
Copyright
Copyright © 2002 by Peter Birtles and Jamie Zawinski. 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.
Description
Models the physics of bouncing balls, or of particles in a gas or fluid, depending on the settings. If
"Shake Box" is selected, then every now and then, the box will be rotated, changing which direction is
down (in order to keep the settled balls in motion.)
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
fluidballs - the physics of bouncing balls.
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
How many balls to display. Default: 300.
--sizenumber
Maximum size of each ball. Default: 25.
--gravitynumber
Coefficient of gravity. Useful values are < 0.1. Default: 0.01.
--windnumber
Wind. Useful values are < 0.1. Default: 0.00.
--elasticitynumber
Coefficient of elasticity. Useful values are 0.2 to 1.0. Default: 0.97. Lower numbers make
less bouncy balls.
--delaynumber
Per-frame delay, in microseconds. Default: 10000 (0.01 seconds.).
--nonrandom
Make all balls be the same size.
--no-nonrandom
Make the balls be random sizes. Default.
--shake|--no-shake
Whether to shake the box if the system seems to have settled down. "Shake" means "change the
direction of Down."
--fps Display the current frame rate and CPU load.
See Also
X(1), xscreensaver(1)
Synopsis
fluidballs [--display host:display.screen] [--visual visual] [--window] [--root] [--window-id number]
[--count number] [--size number] [--gravity number] [--wind number] [--elasticity number] [--delay
number] [--nonrandom] [--no-shake] [--fps]
