home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-3 / Tools / screen / backspace / LifeView.2.0.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  2.1 KB  |  48 lines

  1. last modified 1/15/94
  2.  
  3. Life 2
  4. A fast implementation of the classic Life simulation.
  5. Written by David Bau, based on Sam Streeper's Life module code.
  6. For use with BackSpace.  Should work both intel and motorola NS 3.1+.
  7.  
  8. Installation
  9. 1. Uncompress the file LifeView.tar.Z from the Workspace or a shell.
  10. This will make a single directory LifeView/ with all the sources.
  11. 2. From a shell, cd LifeView, and type "make" to compile the module
  12. 3. To install the module in ~/Apps/Backspace.app, type "make install"
  13. To install it elsewhere, for example in /LocalLibrary/BackSpaceViews,
  14. type "make install INSTALLDIR=/LocalLibrary/BackSpaceViews".
  15.  
  16. About Life
  17. Life is a cellular automaton that evolves a grid of cells from one
  18. generation to the next, using the following rule: A cell survives to
  19. the next generation only if it has two or three neighbors.  An empty
  20. grid square grows a cell in the next generation only if it is
  21. surrounded by exactly three cells in the current generation.  These
  22. two simple rules provide the framework for the interesting displays
  23. that you can see in this screen saver.
  24.  
  25. About Life 2
  26. Life applies the Life rules to a patch of randomly distrubutied cells
  27. on the screen, changing the colors of the cells as they age.  The
  28. module is based on Sam Streeper's Life module code, but the following
  29. features have been added:
  30. * A sparse algorithm for applying the Life rules so that when the
  31. field is mostly empty, not too much work is done.  As a result,
  32. Life 2 is quite fast.
  33. * New drawing code so the display no longer flickers.
  34. * Automatic restart code that can recognize a cyclic stasis of almost
  35. any period.
  36. * A souped up inspector that lets you change cell size and color.
  37. * Support for very small cell sizes, so the full screen field is
  38. really huge (from their point of view).
  39.  
  40. About Dave
  41. Dave should be working right now instead of learning how to program
  42. screensavers, but Dave finds this kind of stuff irresistible.  If you
  43. like this module or fix it up or find something interesting about it,
  44. it would delight Dave to no end if you sent him a postcard mentioning
  45. "Life 2 for NextStep" to let him know.
  46.  
  47. David Bau; 777 South Avenue; Weston, MA 02193.  bau@cs.cornell.edu
  48.