This Demo also allows you to save the animation as a seamless gif-image. For the best results, please wait for some time for the automaton to fully develop and don’t worry if preparing data for saving might take some time. Lots of values don’t give the beautiful spirals at all, so it might take a couple of tryes before getting somewhere. I noticed the values k1=2, k2=3…8, g~250/k2, develop for the best results. To start over again just press the button to regenerate if you end up having an empty canvas.
Anyway in my personal opinion I find BZ one of the most artistic of all cellular automata – and I wanted to check it out with actionscript, the code uses fp10 Vectors and bitmapdata.setVector, with which I’ve had already earlier some nice results when it comes to performance speed.
For saving the gif, I used FileReference.save() of FlashPlayer 10 with very useful as3gif by Thibault Imbert
You’ll find some more info on the BZ-automaton like for instance here or here
Pretty nifty, I’ve always been fascinated by simple rules that generate complex systems, such as in CA, and somewhat related, fractal images.
By: David R on July 2, 2009
at 4:15 pm
[…] Flash animation and ActionScript 2.0/3.0. Knowledge of HTML, CSS and JavaScript. Fresh Graduate Belousov-Zhabotinsky -cellular automata – pixelero.wordpress.com 07/02/2009 Demo also allows you to save the animation as a seamless […]
By: Video | Enjolt.com | Innovate for Success on July 2, 2009
at 5:24 pm
[…] Demo also allows you to save the animation as a seamless gif-image. For the best results, please wait for some time for the automaton to fully develop and don’t worry if preparing data for saving might take some time. Lots of values don’t give the beautiful spirals at all, so it might take a couple of tryes before getting somewhere. See original here: Belousov-Zhabotinsky -cellular automata […]
By: Belousov-Zhabotinsky -cellular automata | Adobe Tutorials on July 3, 2009
at 2:59 am
kinda hypnotic =)
and if mario ports it to peacock it has it´s practical application as well. congrats.
By: frank on July 3, 2009
at 7:20 am
[…] I just couldn’t resist the temptation of checking the BZ-cellular automaton of my previous post with some […]
By: BelousovZhabotinsky, with perspective « Pixelero on July 5, 2009
at 8:21 pm