xball.6x

Langue: en

Autres versions - même langue

Version: 362674 (ubuntu - 25/10/10)

Section: 6 (Jeux)

NAME

xball - bounce balls on the screen

SYNOPSIS

xball [ -help -delay delay -gravity percent-gravity -elasticity percent-elasticity -itemWidth ball-width -itemHeight ball-height -collide -perpetual -haltSim -demoFile demo-file -rgbTxt rgb.txt-file ] [XToolkit options]

DESCRIPTION

XBall allows the user to create 3-d shaded balls, or to write and run demo which create and manipulate the balls in various ways. Documentation is included on-line via the Help menu and is not reproduced here.

OPTIONS

Run xball -help for a decription of the command line options

DEMOS

Several demo files are included with the distribution. To run all the demos, run 'run_demos'.

RESOURCES

Most resources are available for user modification. See the XBall app-defaults file for a complete listing of widgets,

Following is a list of the most useful resources:

XBall*canvas.width, height
The default width and height of the window in which balls bounce in.
XBall.delay
The amount to slow the simulation, in case the computer is too fast. A reasonable range is 0 to 200.
XBall.itemWidth, itemHeight
The default width and height of the balls.
XBall.collide
If true, balls are colliding on startup.
XBall.perpetual
If true, balls are perpetual on startup.
XBall.haltSim
If true, simulation is halted on startup.
XBall.demoFile
Specified the file to run as a demo on startup.
XBall.rgbTxt
Specified the file to load for the colors. The default file is /etc/X11/rgb.txt

FILES

/etc/X11/rgb.txt X11 color names and values.

AUTHOR

David Nedde (daven@ivy.wpi.edu).
Packaged for the Debian project by Stephen Birch <sgbirch@imsmail.org>.

Copyright 1991, 1993 David Nedde.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee provided that the above copyright notice appears in all copies. It is provided "as is" without express or implied warranty.