glblur [--display host:display.screen] [--visual visual] [--window] [--root] [--window-id number] [--delay number] [--blursize number] [--no-wander] [--no-spin] [--spin [XYZ]] [--fps]
This program draws a box and a few line segments, and generates a radial blur outward from it. This creates flowing field effects.
This is done by rendering the scene into a small texture, then repeatedly rendering increasingly-enlarged and increasingly-transparent versions of that texture onto the frame buffer. As such, it's quite graphics intensive: don't bother trying to run this if you don't have hardware-accelerated texture support. It will hurt your machine bad.
- --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.
Draw on a newly-created window. This is the default.
Draw on the root window.
- --window-id number
Draw on the specified window.
- --delay number
Per-frame delay, in microseconds. Default: 10000 (0.01 seconds.).
- --blursize number
How many copies of the scene should be laid down to make the vapor trail. Default: 15. Larger numbers create smoother fields, but are slower.
- --wander | --no-wander
Whether the object should wander around the screen.
- --spin [XYZ]
Around which axes should the object spin?
Display the current frame rate, CPU load, and polygon count.
to get the default host and display number.
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
The window ID to use with --root.
Copyright © 2002 by 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.
Jamie Zawinski, with inspiration from a tutorial by Dario Corno.