I’m Morteza Rahmani, from Iran, and I’m interested in mathematics, cellular automata, and fractals.
I have developed a cellular fractal automaton inspired by the traditional medallion patterns found in Iranian carpets. I call it "Toranj (ICM: Iranian Carpet Medallion)".
The idea started with a simple question: what would happen if the geometric structure of an Iranian carpet medallion were translated into a cellular automaton rule?
The result is a surprisingly intricate and symmetric pattern that evolves from a very simple local rule.
Here is a short video showing Toranj in action:
https://www.youtube.com/watch?v=980bAiDV_pY
A brief look at the rule
Toranj uses a simple 3×3 neighborhood.
Unlike most cellular automata, the top-left cell of the 3×3 neighborhood is the reference cell, rather than the cell at the geometric center.
The reference cell itself is also included in the calculation.
For each reference cell, I examine the corresponding 3×3 block and count the live cells, including the reference cell itself.
The reference cell is alive in the next generation if the total number of live cells in this 3×3 block is 3 or 4.
In other words:
Code: Select all
Next state = Alive if the 3×3 sum is 3 or 4;
otherwise Dead.
Initial conditions and boundary structure
The initial configuration has a specific diagonal structure at the end of the implemented region.
The final cell of the implemented region has the value 4 in the first generation and immediately becomes 5 from the second generation onward.
Relative to this cell, the cells at offsets (-1,-1) and (-2,-2) remain 1 throughout the entire evolution.
These conditions define the starting and boundary structure from which the Toranj pattern develops.
Direction and size of the universe
The cellular universe in Toranj is directed toward the upper-left. In this direction, the computational region can be extended without a fixed upper bound.
The dimensions of the computational region do not necessarily have to be square; rectangular regions are also possible.
However, because of the geometry and symmetry of Toranj, a square computational region provides the most balanced, natural, and visually coherent form.
For example, configurations such as 100×100, 200×200, or even 1,000,000×1,000,000 cells can be used.
As the computational region is extended toward the upper-left, Toranj becomes larger, more detailed, and increasingly populated. In cellular-automaton terms, this means that the population increases as larger regions of the universe are explored.
The larger the computational region, the richer and more detailed the resulting Toranj becomes. I’d love to hear your thoughts
I’d be very interested to hear what you think about Toranj, especially from people here who have experience with cellular automata.
I’m happy to provide more details about the rule, its construction, implementation, and evolution if anyone is interested.