home *** CD-ROM | disk | FTP | other *** search
- Squiggly Worms
-
- This is one of those programs everyone seems to have written. It was
- originally written for a Sun workstation and is based on an article
- in the Dec '87 issue of Scientific American. I adapted it to run on
- the Amiga since I don't have a Sun at home. :-)
-
- Execution of the program is straight forward. If you run it from the CLI
- you can specify various options on the command line. These options fall into
- two groups, worm control and screen control. First the worm control :
-
- -l # Length of the Worms. Short worms look like bacteria and
- long one look like modern art. Try lengths of 4 and 2000
-
- -s # Size, this determines the size of the worm pieces. The worm is
- made up of square blocks. Try a size of 4 and a length of 2 for
- some really short fat worms. Or a size of 32 and a length of 1
- for some wandering spots. A size of 32 and a length of 100 is
- interesting too.
-
- -n # Number of worms. This directly effects how fast the worms move
- 4 zip along, 8 are fun, 16 slow down 32 are slower still and
- several hundred are slow motion city!.
-
- And then the screen control :
-
- -r # Resolution. This switch sets the resolution of the screen
- that the program opens, it can be 0, 1, or 2 which stand
- for Low (320 X 200), Medium (640 X 200), or High (640 X 400).
- Note that if you have a 'morerowed' screen it opens it as big
- as it can.
-
- -d # Depth. Number of bitplanes in the screen that is opened. In
- theory opening a 640 X 400 X 4 screen taxes the chip memory
- bus, however this is not very cpu intensive so fewer bitplanes
- do not necessarily increase the speed. You can save chip ram
- though.
-
-
- If you double click on the icon the program will ask you to specify the above
- switches. (I know it should use TOOLTYPES but hey it's late)
-
- Finally, I use Lattice 4.0 to compile this thing so you may find that you
- need to diddle with it a bit to get Aztec to compile it correctly. I tried
- to #ifdef the really Lattice specific stuff.
-
- Have fun,
-
- Chuck McManis
- 1141 Vasquez Ave
- Sunnyvale, CA 94086
-
- bix: cmcmanis (pronounced see-mcmanis)
- usenet: {anywhere}!sun!cmcmanis
- arpanet: cmcmanis@sun.COM
-