boingSection: XScreenSaver manual (6)
Updated: 5.04 (13-Nov-2007)
Index Return to Main Contents
NAMEboing - draws a bouncing ball like the ancient Amiga demo
SYNOPSISboing [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay usecs] [-smooth] [-lighting] [-scanlines] [-speed] [-no-spin] [-angle degrees] [-size ratio] [-parallels n] [-meridians n] [-wireframe] [-fps]
DESCRIPTIONThe boing program draws a bouncing checkered ball on a grid.
This is a clone of the first graphics demo for the Amiga 1000, which was written by Dale Luck and RJ Mical during a break at the 1984 Consumer Electronics Show (or so the legend goes.) The boing ball was briefly the official logo of Amiga Inc., until they were bought by Commodore later that year.
OPTIONSboing accepts the following options:
- Draw on a newly-created window. This is the default.
- Draw on the root window.
- 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.
- -delay usecs
- The delay between frames of the animation, in microseconds: default 15000.
- Draw a smooth sphere instead of a faceted polyhedron.
- Do shaded lighting instead of flat colors.
- If the window is large enough, draw horizontal lines to simulate the scanlines on a low resolution monitor.
- -speed ratio
- Change the animation speed; 0.5 to go half as fast, 2.0 to go twice as fast.
- Don't rotate the ball.
- -angle degrees
- The jaunty angle at which the ball sits. Default 15 degrees.
- -size ratio
- How big the ball is; default 0.5 meaning about half the size of the window.
- -parallels n
- -meridians n The pattern of rectangles on the ball. Default 8x16.
- Look crummy.
- Display a running tally of how many frames per second are being rendered. In conjunction with -delay 0, this can be a useful benchmark of your GL performance.
- 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.
SEE ALSObsod(6), pong(6), xscreensaver(1), X(1)
COPYRIGHTCopyright © 2005 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.
AUTHORJamie Zawinski <firstname.lastname@example.org>, 19-Feb-2005.