pouët.net

Bouncing Planets Demo


BOUNCING PLANETS DEMO

  This is an animation of three bouncing planets.
  It is simple but pretty; quite hypnotic.
  Full source code and documentation is included.
  (Designed partly as a tutorial.)


FILES

  PLANETS.LZH
  -----------
  README.TXT       - This very file
  PLANETS.EXE      - The Demo
  GUSH*.DAT        - Data for the different planets
  XION*.DAT        - Data for the different surfaces
  SOURCE.LZH       - Archived source code
  DOC.LZH          - Archived documentation

  SOURCE.LZH
  ----------
  MAKEGUSH.EXE     - Program to create new Gush (planet) data
  MAKEXION.EXE     - Program to create new Xion (surface) data
  *.C, *.ASM       - Source files

  DOC.LZH
  -------
  PLANET.TXT       - Document describing construction of demo (ascii)
  PLANET.MS        - Troff source for document
            (The documentation is actually independent of the implemented code)


NOTES

  The demo is compiled using the rather fine 'XLib' public domain graphics
library (version 6), mainly for the clever screen buffering it provides.

  The command-line options the demo accepts are so that I can run the program
on a continuous loop with some other stuff to give my computer something to
do when it's bored.
  /s  suppresses the message at the end of the demo.
  /t<time>  stops the demo after <time> seconds.
  /f<path>  sets the location of the data files as the <path> directory.
  /p<n>  selects to bounce <n> planets (up to 3, or less if not enough memory).

  Everything here is freeware; use it but don't abuse it. Rewrite and remix the
demo as much as you desire, but always distribute it with the original files
unaltered.


Simon Hern (April 1994)
(22 Harrington Drive, Bedford MK41 8DB, England)
sdh@uk.ac.nott.maths (e-mail valid until July 1994)