1. Description
Since Trend and jTrend are two-dimensional cellular automata simulation environments, they can easily be used to simulate one-dimensional CA. In this example, a one-dimensional rule table, which can generate a fractal-like pattern, was implemented using the Trend language. Users can use this example as a prototype to convert other 1-D cellular automata transition tables into Trend programs.
To make it easier for users to capture the patterns and organism in 1-D space, the simulation results of 1-D cellular automata are copied one row downwards during each iteration. The same technique is used in the One-Dimensional Bubble Sort, which will be introduced in the next example.
The tutorial for this model is available here.
2. Download
next example
|