ftp.nice.ch/pub/next/tools/screen/backspace/SparseLife.NIHS.bs.tar.gz#/SparseLifeView.BackModule/README.rtf

This is README.rtf in view mode; [Download] [Up]

Sparse-Life
A fast implementation of the classic Life simulation.
Written by David Bau, based on Sam Streeper's Life module code.
For use with BackSpace.  Should work both intel and motorola NS 3.1.

Installation
1. Uncompress the file SparseLifeView.tar.Z from the Workspace or a shell.  This will make a single directory SparseLifeView/ with all the sources.
2. From a shell, cd SparseLifeView, and type ªmakeº to compile the module
3. To install the module in ~/Apps/Backspace.app, type ªmake installº  To install it elsewhere, for example in /LocalLibrary/BackSpaceViews, type ªmake install INSTALLDIR=/LocalLibrary/BackSpaceViewsº.

About Life
Life is a cellular automaton that evolves a grid of cells from one generation to the next, as follows: A cell survives to the next generation only if it has two or three neighbors.  An empty grid square grows a cell in the next generation only if it is surrounded by exactly three cells in the current generation.  These two simple rules provide the framework for the interesting displays that you can see in this screen saver.

About Sparse-Life
SparseLife applies the Life rules to a patch of randomly distrubutied cells on the screen, changing the colors of the cells as they age.  The module is based on Sam Streeper's Life module code, but the following features have been added:
· A sparse algorithm for applying the Life rules so that when the field is mostly empty, not too much work is done.  As a result, Sparse-Life is quite fast.
· New drawing code so the display no longer flickers.
· Automatic restart code that can recognize a cyclic stasis of almost any period.
· A souped up inspector that lets you change cell size and color.
· Support for very small cell sizes, so the full screen field is really huge (from their point of view).

About Dave
Dave should be working right now instead of learning how to program screensavers, but Dave finds this kind of stuff irresistible.  If you like this module or fix it up or find something interesting about it, it would delight Dave to no end if you sent him a postcard to let him know.

David Bau; 777 South Avenue; Weston, MA 02193.  bau@cs.cornell.edu
you should ask Dave if he has started on his Maze screensaver yet. 11/12/93.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.