After seeing this talk by Will Wright and Brian Eno on generative systems, I started playing around with Cellular Automata. I remembered this post on using flash's bitmap filters to do all the calculations for Cellular Automata, so I wrote my own version, just for the hell of it.
A couple of gotcha's that held me up:
- When setting pixel values in a BitmapData object with transparency enabled, the color will be set to 0x000000 when the alpha is 0, no matter what color you actually passed in.
- On the other hand, with transparency disabled, the alpha value of pixels will always be set to 0xFF.