Monday, October 06, 2008

Conway's Game of Life

Here's a neat implementation of Conway's Game of Life using bitmap data filters to run the logic.
"Another way to do the calculations is to use filters which perform all of the calculations that are needed for one step in the Game of Life in a few lines of Actionscript. Filters such as the blur and convolution filters determine the colour of a pixel based on its neighbour’s colours which is exactly the kind of behaviour we need to run the Game of Life calculations. All of the hard work is done behind the scenes, effectively at a lower level which makes the simulation faster.

This makes me want to write my own version of Conway's Game.

No comments: