Life filter plugin for Photoshop -------------------------------- Copyright 2003 Toby Thain . This code is provided as an example of a simple cross-platform filter plugin. What it does ------------ This filter implements Conway's Life cellular automaton. For more information on Life, see: * http://www.math.com/students/wonders/life/life.html * http://pentadecathlon.com/LifeInfo/LifeInfo.html * http://www.ericweisstein.com/encyclopedias/life/ In this implementation, * The cell matrix is toroidal; coordinates wrap around at left and right, top and bottom * Cell states are read from the most significant bit of the Red (or current) channel. * Cell states at time T are written as white=255 (alive) or black=0 (dead) in the Red (or current) channel * (In RGB mode) the previous generation is copied to the Green channel (time T-1) * (In RGB mode) The Green channel is copied to the Blue channel (time T-2) Therefore the most recent three generations can be seen superimposed, in the composite RGB view. Please contact the author with any bug reports, suggestions or comments. The latest version is always available from http://www.telegraphics.com.au/