Monday, April 5, 2010

Cellular Automaton Part II

Well! It kind of worked!

My algorithm actually acted like dandelions! Heh. This is just the start.

I put a limit on how much the dandelions could cluster before I reassigned that grid box as zero (1 <= dandelion < 3). Wonderful!

Images:







PS. I understand there is some kind of function in Mathematica for making CA. By the time I found out, I had already coded most of my CA and didn't want to change so I just went along with my code. Plus, this is a much more enlightening experience than just writing: CellularAutomaton[...].

No comments:

Post a Comment