wmGrav 1.2 - A somewhat pointless dock application for Window Maker

By Ian Clarke 1999     Email: I.Clarke@strs.co.uk 
                         Web: http://www.dcs.ed.ac.uk/~iic

Abstract
--------
This small dock-app simulates the chaotic behaviour of several equi-sized
objects acting under gravity in a two dimensional confined space.  It requires
the docklib library to be installed, this is included with Window Maker but is
NOT installed by default - see the INSTALL file for further details, and details
of installation. 

This application is distributed under the GNU General Licence, see the file
COPYING for further details.

I ask that you email me if you like this small program, also email me any
improvements or bug reports.

Usage
-----
Type 'wmgrav' at the command prompt and drag the resulting dock app to your dock
or clip.  

Details
-------
I wrote this app firstly to see how difficult it would be to write a dock app
for Window Maker (quite easy actually thanks to the dockapp library), and also
because I quite like having something interesting moving in my dock.

I calculate the effects of gravity using good old Newtonian equations, I have
also made the objects bounce off the edges of the app-window as they had a
tendency to wander out of the window due to computation inaccuracies.  The
objects can have configurable length tails to make them easier to see.

3 or more objects acting under gravity in this way will exhibit chaotic
behaviour.  This means that small variations in initial position will result in
large differences in behaviour later on, and that generally the whole thing
won't be easy to predict.

It is possible to change both the number of the objects and the speed of the
simulation, type 'wmgrav -h' for a list of options.  You can mess further by
playing with wmgrav.c and re-compiling.  
