1. Description
This example was translated directly from a rule written in Cellang, another cellular automata programming language. It shows users how to generate a simple snowflake fractal using the cellular automata model.
This example starts with a seed that is placed in the center of cellular automata space. During the simulation, the seed germinates and its branches are sent in four directions. To prevent the branches from branching out forever, a length value is kept in each cell along the branching path. The cells use this value to decide whether to continue the branching or not. With an appropriate fraction of length reduction, the process of branching will terminate and a snowflake will be generated eventually.
2. Download
next example
|