Robots w/Lasers

August 22, 2008

Simple Cellular Automata Example in AS3

To get a little more experience with ActionScript 3, I wrote up a very simple class which will take a rule number, and then generate a cellular automata based on that.

The movie below requires Flash 9 or above to be installed. Some rules to try out: 90, 30, 73, 110, 150. Valid numbers are 0-255, but not all produce interesting results.

This movie requires a newer Flash Player version

Direct link to flash movie (got some people complaining the SWFObject script doesn't work under Vista)

See Wikipedia for more info, and Wolfram.com has a list of all 256 possible results
Here's the code:
(more...)

Filed under: Flash,Software — davr @ 11:33 am

Powered by WordPress

Bad Behavior has blocked 541 access attempts in the last 7 days.