10
May
07

Belousov-Zhabotinsky (BZ) Reaction

This periodic cellular automaton simulates a Belousov-Zhabotinsky reaction. See also my Activator-Inhibitor cellular automaton.

(* runtime: 27 seconds *)
n = 50; SeedRandom[0]; image = Table[Random[Integer, {0, 255}], {n}, {n}];
Do[image = Table[z = image[[i, j]]; zlist = Flatten[image[[Mod[i - {0, 1, 2},n] + 1, Mod[j - {0, 1, 2}, n] + 1]]]; If[z == 255, 0, a = 9 - Count[zlist, 0]; If[z ==0, b = Count[zlist, 255]; Floor[(a - b)/3] + Floor[b/3], Min[Floor[Plus @@ zlist/a] + 45, 255]]], {i, 1, n}, {j, 1, n}]; ListDensityPlot[image, Mesh -> False, Frame -> False], {200}];

Links

Advertisements

1 Response to “Belousov-Zhabotinsky (BZ) Reaction”


  1. July 27, 2009 at 11:35 am

    Dear Mr. Nylander, 27 July, 2009

    The Journal of Biosciences is publishing in its September 2009 issue a biographical article on Belousov. In connection with this, we would like to have a colour picture showing travelling waves in the “Belousov-Zhabotinskii” reaction. Would you able to provide on? Of a simulation if not of the reaction itself? A set of possibilities would be useful to have; we can make a choice. Full acknowledgement will be given of course.

    We are also making the same request to others.

    Looking forward to your response,

    With regards,

    Vidyanand Nanjundiah
    Editor, J Biosciences


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Welcome !

You will find here some of my favorite hobbies and interests, especially science and art.

I hope you enjoy it!

Subscribe to the RSS feed to stay informed when I publish something new here.

I would love to hear from you! Please feel free to send me an email : bugman123-at-gmail-dot-com

Archives

Blog Stats

  • 550,399 hits

%d bloggers like this: