1. Introduction
Self-organization phenomena, in which global structures are produced from purely local interactions, are found in fields ranging from biology to human societies. If these emergent processes were to be controlled, various applications would be possible in engineering fields. For this purpose, the conditions under which they emerge must be elucidated. This is one of the goals of the study of complex systems. Such control methods may allow the automatic construction of machines. They could also be applied to the control of engineering systems, such as controlling robot swarms or self-assembling microrobots. In addition, the methods allow for the growth of artificial organs or the support of ecosystem conservation, as well as clarifying the emergence of the first life on ancient earth.
Mathematical modeling of self-organization phenomena has two main branches: the mathematical analysis of reaction-diffusion (RD) equations, and discrete modeling using cellular automata (CA).
The Turing pattern model is one type of RD model. This was introduced by Turing in 1952 [
1], where he treated morphogenesis as the interaction between activating and inhibiting factors. Typically, this model achieves self-organization through the different diffusion coefficients for two morphogens, equivalent to an activating and an inhibiting factor. The general RD equations can be written as follows:
where
u and
v are the morphogen concentrations, functions
and
are the reaction kinetics, and
and
are the diffusion coefficients. Previous studies have considered a range of functions
and
, and models such as the linear model, the Gierer–Meinhardt model [
2], and the Gray–Scott model [
3] have been used to produce typical Turing patterns.
By contrast, CA models are discrete in both space and time. The state of the focal cell is determined by the states of the adjacent cells and the transition rules. The advantage of CA models is that they can describe systems that cannot be modeled using differential equations. Historically, various interesting CA patterns have been discovered.
In the 1950s, von Neumann introduced the mathematical study of self-reproduction phenomena, and proved, theoretically, that a self-replicating machine could be constructed on a two-dimensional (2D) grid using 29 cell states and transition rules [
4]. Von Neumann’s self-reproducing machine was too large to be implemented until powerful computers became available in the 1990s [
5]. Codd [
6] showed that the number of cell states could be reduced to eight, and proved the possibility of a self-reproducing machine. However, this model was too complex to be applied to biological processes. In the 1970s, the Game of Life (GoL), invented by Conway [
7], became popular. It is a simple CA model that is defined by only four rules, yet produces complex dynamic patterns. Wolfram [
8] investigated the one-dimensional (1D) CA model and identified four categories of pattern formation. One of these was the chaotic behavior group. Langton [
9] developed a simple self-reproducing machine that did not require von Neumann’s machine completeness. While having a very simple shape, Langton’s machine’s transition rules were complex and produced only specific circling shapes. Byl [
10] simplified the Langton model, and Reggia [
11] identified the simplest possible reproducing machine. Ishida [
12] demonstrated a self-reproducing CA model that resembled a living cell, with DNA-like information carriers held inside a cell-like structure.
On the other hand, many studies have applied CA models to biological phenomena, such as the generation of seashell-like structures by Wolfram [
8], the development by Young of an RD model in a CA setting that reproduced the patterns of animal coloration [
13], the application of the Belousov–Zhabotinskii reaction CA model by Madore and Freeman [
14], the catalytic modeling of proteins by Gerhardt and Schuster [
15], the modeling of the immune system by De Boer and Hogeweg [
16] and by Celada and Seiden [
17], the tumor growth model of Moreira and Deutsch [
18], the genetic disorder model of Moore and Hahn [
19], the modeling of the hippocampus by Pytte et al. [
20], and the dynamic modeling of cardiac conduction by Kaplan et al. [
21]. Furthermore, Markus [
22] demonstrated that a CA model could produce the same output as RD equations.
In addition, CA has two types of model. The first one is a totalistic CA, for which each cell state is determined by summing the states of the neighboring cells. Conway’s GoL is one such CA. GoL produces the three typical patterns from the particular initial cell state configurations shown in
Figure 1: “still”, “moving”, and “oscillating”. Meanwhile, most of the initial cell state configurations reach extinction, i.e., all cell states become 0. However, it is impossible to deduce the transition rules to make specific shapes automatically.
In contrast with the totalistic CA, the second type of CA model counts all the neighbor cells’ state patterns. Wolfram’s 1D CA is one such CA, in which there are two states (0 and 1) of three inputs and one output. As there are 2
3 = 8 inputs, and each input has two outputs (0 or 1), there are 2
8 = 256 transition rules. Wolfram researched all these transition rules and divided the output patterns into four classes. Class 1 covers the steady states, Class 2 the periodical patterns, Class 3 the random patterns (edge of chaos), and Class 4 the chaotic patterns.
Figure 2 shows one result of the Class 3 rules, which produce unique patterns like that of a certain type of seashell.
However, in a Wolfram-type model, increasing the inputs to five produces an explosive increase in the number of output combinations, to 2
32. It therefore becomes impossible to investigate all outputs. A similar situation occurs in the case of a 2D CA model, making it, again, impossible to investigate all possible patterns. Langton proposed the λ parameter [
23] to elucidate the condition to give rise to the diversity of patterns—edge of chaos. However, this could not derive the rule to construct favorite patterns.
CA models reduce the computational load by removing the need to solve differential equations numerically. However, it is necessary to translate the partial differential equations of the RD equations into the transition rules of the CA model. In a study of up to present, no general method currently exists for doing this, with the exception of the ultra-discrete systems [
24] used in certain soliton equations. Normally, the transition rules driving the emergent phenomena must be found by trial and error. Studies that attempted to derive the transition rules using genetic algorithms [
11,
25] demonstrated the difficulty of deriving generalized rules. The Ishida cell division model [
12] is a hybrid of the Wolfram- and Conway-type CAs, in which part of the rules are totalistic transition rules, and the others are head-to-head-type transition rules, and these rules were discovered by trial and error.
The Young model [
13] is one of the 2D totalistic models that bridges the RD equations and CA model; this model is used to produce Turing patterns. Some other examples to produce Turing patterns are below. Adamatzky [
26] studied a binary-cell-state eight-cell neighborhood two-dimensional cellular automaton model with semitotalistic transitions rules. Dormann [
27] also used a 2D outer-totalistic model with threes states to produce a Turing-like pattern. Tsai [
28] analyzed a self-replicating mechanism in Turing patterns with a minimal autocatalytic monomer-dimer system.
Young’s CA model uses a real number function to derive the distance effects, with two constant values within a grid cell: u
1 (positive) and u
2 (negative). The calculation begins by randomly distributing black cells on a rectangular grid. Then, for each cell at position R
0 in 2D fields, the next cell state of R
0, due to all nearby black cells at position R
i, are added up. R
i is assumed to be a black cell within radius r
2 from R
0 cell. The function v(r) is a continuous step function, as shown in
Figure 3b. The activation area, indicated by u
1, has a radius of r
1 and the inhibition area, indicated by u
2, has a radius of r
2 (r
2 > r
1). At position R
0, when R
i is assumed to be a grid within r
2, function v(|R
0 − R
i|) value is added up. Function |R
0 − R
i| indicates the distance between R
0 and R
i. If ∑
i v (|R
0 − R
i|) > 0, the grid cell at point R
0 is marked as a black cell. If ∑
i v (|R
0 − R
i|) < 0, the grid cell becomes a white cell. If ∑
i v (|R
0 − R
i|) = 0, the grid cell does not change state [
13]. Using these functions, Young described that a Turing pattern can be generated. Spot patterns or striped patterns can be created with relative changes between u
1 and u
2.
In this Young model, let u
1 = 1, u
2 =
w (here 0 <
w < 1), and further, if the state of the cell is set to 0 (white) and 1 (black), this model can be arranged as follows. The state of cell
i is expressed as
(
= [0, 1]) at time
t. The following state
at time
is determined by the states of the neighboring cells. Here,
N1 is the sum of the states of the domain within
S meshes of the focal cell. Similarly,
N2 is the sum of the states of the domain within
t meshes of the focal cell, assuming that
S <
t.Here,
S (T) is the number of cells within
s (
t) meshes from focal cell.
Figure 4 shows the schematic of the total sum of states
N1 and
N2. The next time state of the focal cell is determined by the following Expression (1):
The essence of the Turing pattern model is that the short- and long-range spatial scales are each affected by separate factors [
29], and pattern formation emerges from nonlinear interactions between the two factors. Turing used two chemicals with different diffusion coefficients to create these short- and long-range spatial effects. However, as long as there exists a difference between long- and short-range effects, other implementation methods can be applied. This model used two ranges of
s mesh and
t mesh to create a difference. It is therefore thought that this model is essentially the same as an RD model.
Figure 5 shows the results for the Expression (1) model using a square grid. As the initial conditions, 300 state 1 cells were set randomly in the calculation field 80 × 80. Turing-like patterns emerged as parameter
w changed. When
w was greater than 0.4, spot patterns were observed, whereas at
w = 0.3, stripe patterns emerged. When
w was 0.20 or lower, all cells in the field had a value of 1 (shown in black). Changing the parameters
N1 and
N2 merely changed the scale of the patterns.
On the other hand, the GoL is one of the 2D totalistic CAs to emerge patterns of diversity. In this model, the state of the focal cell is activated when the total number of surrounding states is within a certain range. Therefore, we considered the extended model of GoL. Whereas the GoL uses the states of the eight surrounding cells (the Moore neighborhood), an extended neighborhood is possible that considers two or more meshes from the focal cell like Young model. Such models are expected to generate a similar variety of patterns to the GoL.
In natural phenomena, short-distance influences play a stronger role than more distant influences. Under this circumstance (1) The influence decreases as the distance from the focal cell increases, which is N1 + N2 × w type model (w: weight parameter, 0 < w < 1). However, reaction diffusion phenomena are created with long-distance influences that play a negative role than more near influences. (2) The influence reverses as the distance from the focal cell increases, which is N1 − N2 × w type model (w: weight parameter, 0 < w < 1).
The first type of the model is expected to produce results similar to those of other totalistic CAs. Under specific conditions, GoL-like patterns will be found. The second model is expected to produce results similar to those of a Young model, which similarly takes account of the nearness of the activating and inhibiting factors.
This study adopted the second type of the model, and the emergence of a variety of patterns, such as the Turing pattern, were confirmed. In addition, by applying GoL-type rules to the second model type, more complex patterns are expected, such as self-reproducing and growth patterns. Our study model was able to produce not only a Turing-like pattern while using a simple transition expression, but also the model produces various patterns such as still, moving, and oscillation. Furthermore, this model can control these patterns with two parameters, which means the possibility of controlling self-organized patterns with a totalistic CA model.
3. Results
Figure 8 maps the model results against parameters
w1 and
w2. Initial condition is based on 300 randomly arranged state 1 cells. Different patterns were observed at different values of
w1 and
w2. As in the Young-type model, the parameter
w1 determined the pattern type, whether spotted or striped. As
w2 became smaller, pulsing and unsteady white spots were born within the black pattern. The vibration of these white spots became more intense as the value of
w2 was reduced.
Figure 9 shows the results when varying the number of states 1 (black cell) to place them randomly in the initial state. The calculation conditions were
s = 5,
t = 9,
w1 = 0.40, and
w2 = 0.80 in a hexagonal grid. Based on the results of this figure, if there are more than a certain number of states 1, it is evident that a similar pattern formation develops. Furthermore,
Figure 10 shows the transition of the ratio of states 1 and 2, and the ratio of the applied cells of Rule 4 at each time step. This result was calculated when
w2 was changed (
s = 5,
t = 9, and
w1 = 0.35). When
w2 was 1, Rule 4 was not applied, and the result was equivalent to the Young model. As
w2 was lowered, the application ratio of Rule 4 increased. At this time, white regions were generated in the black spots, and the instability increased and became pulsating. This phenomenon is attributed to Rule 4.
Figure 11 shows the effect of the initial condition which is centrally arranged on four black cells. The instability became more pronounced as
w2 decreased, and the central spotted pattern grew as an unstable wave in the calculation field. By contrast, when
w2 was relatively large, the central spot did not spread.
Figure 12 shows the time series results of the model with
s = 4,
t = 8,
w1 = 0.40, and
w2 = 0.75. In this figure,
i shows the iteration number of the calculation. The video of
Figure 12 can be viewed in the
Video S1 of Supplementary Materials. As the initial condition, four state-1 cells (black) were set in the center of the field shown in
Figure 7. The central spotted pattern was divided into two spots, and these divisions spread until the field was filled with spotted patterns.
Figure 13 shows the results when the initial condition of state 1 was subjected to the same conditions as in
Figure 12 (
s = 4,
t = 8,
w1 = 0.40, and
w2 = 0.75 in a hexagonal grid). When there was only one state 1 in the initial field, Rule 4 was applied around this state 1, which disappeared at the next step. If there are two or more states 1 as the initial state, it was observed that the state 1 survived, and pattern formation similar to
Figure 12 occurred. In the case of several state 1s, due to the balance between Rules 3 and 4, complicated patterns were observed in two or three steps from the beginning of the calculation, and thereafter, a self-replicating pattern was observed.
In addition,
Figure 14 shows the calculation results when increasing the black region as the initial condition, under the same conditions as in
Figure 12 (
s = 4,
t = 8,
w1 = 0.40, and
w2 = 0.75 in a hexagonal grid). The point symmetrical initial shape tended to be a fixed pattern due to the balance of the rules. On the other hand, if the black area was larger than a certain size, Rule 1 was mostly applied, and disappeared at the second step. To produce a self-replicating pattern, an asymmetric shape must initially occur.
Figure 15 shows the transition of the ratios of states 1 and 2, and the ratio of applied cells of Rule 4 per time step under the same conditions as in
Figure 12 (
s = 5,
t = 9,
w1 = 0.40, and
w2 = 0.75). In 90 to 100 steps, the frequency of pattern division became high, and the application ratio of Rule 4 increased. Rule 4 generated a white area in the black spot patterns, and instability increased; hence, the symmetrical shape collapsed and became a trigger for division.
Figure 16 and
Figure 17 show the results with an initial pattern of a symmetrical ring with state 1 s. In the case where the initial shape was symmetrical, the still pattern or the oscillation pattern often appeared in a wide range of
w1 and
w2. When
w1 = 0.45 and
w2 = 0.55, the ring pattern spread while dividing spots. In an opposite way, as
w2 was approached as
w1, the instability increased and the pattern disappeared.
Figure 18 shows the initial pattern of a deformed ring with a thick upper boundary. When
w1 = 0.45 and
w2 = 0.65, the ring pattern was divided while moving. When
w1 = 0.45 and
w2 = 0.72, a constantly moving ring-like pattern formed. When
w1 = 0.45 and
w2 = 0.75, a single fixed symmetrical ring pattern formed. Thus, when the initial shape is asymmetric, a moving pattern or dividing pattern tends to be generated from the breaking of symmetry. As
w2 approaches 1, it approaches fixed patterns, and results in a pattern close to the Turing pattern.
4. Discussion
In this study, we constructed a model in which the focal state 1 survives only when a moderate rate of the number of state 1 cells surrounds the focal cell. This model created a central white part (state 0) within the black domain by changing parameter w2. The patterns then became increasingly unstable over the calculation field, and this instability increased the rate of pattern emergence, including self-reproducing spot patterns and stripe patterns.
The self-reproducing spot pattern of
Figure 12 seems to have some association with the Gray–Scott model, which is a type of RD model. Generally, the Gray–Scott model produces a self-reproducing spot pattern when the parameters are adjusted. In future work, we will investigate the relationship between the current model and the Gray–Scott model.
Particularly, in the case of the model with
s = 5 and
t = 8 shown in
Figure 16,
Figure 17 and
Figure 18, the result suggests the possibility of controlling self-organized patterns. When
w1 is increased, a spot shape can be generated, and by decreasing
w1, a stripe pattern can be grown from spotted seeds.
In the symmetric shape, when
w2 is large, it is stable in many cases. However, by making the value of
w2 small and making it close to
w1, the spotted pattern becomes unstable, and asymmetric shapes are born. Furthermore, these spots are moving or divided by the controlling
w2 parameter, as shown in
Figure 19.
The robustness of the initial conditions was found to have the following tendencies. (1) If state 1 is one, it disappears; (2) When state 1 is randomly arranged, if two or more states 1 are distributed in the range for counting the number of surrounding states, the development of the pattern is recognized. Next, depending on the degree of instability due to the w2 parameter, it is decided whether the pattern develops spatially. Due to random initial placement, an identical pattern does not occur, but qualitatively similar patterns can be stably generated; (3) When several states 1 are gathered, complicated pattern changes occur in the first two or three steps due to the balance between Rules 3 and 4, and if a shape that is not point symmetric is subsequently generated, a pattern spreading in the space is generated. When a point symmetric shape is born, a circular or ring-fixed pattern is generated; (4) When the black (state 1) area is large, the black area disappears due to Rule 1.
In a future study, if CA rules can translate to a chemical reaction process, a control technology for nanomachines becomes feasible. Thus, the simple totalistic CA presented in this paper allows the emergence of a wide range of self-organization patterns to be observed.
Based on these results, if the parameters
w1 and
w2 are changed at each time step, it is possible to generate a continuously changing pattern.
Figure 20 shows a calculation case in which
w1 and
w2 are changed in time over time. The video of
Figure 20 can be viewed in the
Video S2 of Supplementary Materials. As in this result, it is possible to create changes by changing
w1 and
w2; birth of annulus -> growth -> division -> move -> decline -> growth -> annihilation.
Figure 21 shows the transition of the ratio of states 1 and 2, and the ratio of the applied cells of Rule 4 in each time step during the calculation of
Figure 20. Rule 4 was applied more frequently when spot patterns replicated, as compared to when the spot moved or vibrated. Furthermore, when the pattern disappeared, the application frequency of Rule 4 increased. Thus, it is suggested that pattern stability can be controlled by changing the application ratio of Rule 4.
Since this research is still in its first stage, discussions are limited mainly to qualitative considerations, but in future work, it will be necessary to investigate further quantitative assessments. There is a possibility of finding an index like Langton’s λ parameter with the evaluation of many calculation cases. Furthermore, since it has rules similar to the Game of Life, basically like the Game of Life, many trials are necessary to find the desired pattern. Slight changes in the initial value may develop into different patterns. In the future, it is necessary to make a catalog of pattern formation on the relation between the initial condition and patterns based on many calculation results.