Tutorials/General technology
So now, after coming across a good cellular automata, you have decided to do something less abstract with it — something more significant than random soup searching and more engaging than automatic software searching. Then you begin to consider signal circuitry, the very connection between microscopic evolution and macroscopic construction. (Actually, that is approximately what cellular automata were originally created for; the basis of modelling self-replicating systems.)
What is a signal and what do they do?
A signal is a moving configuration different from its background, and thus carrying some information from simple presence/absence to phase difference. In terms of cellular automata, the following patterns can serve as signals:
- Spaceships in an empty medium,
- Fuses, drifters and negative spaceships in some nonempty media, and
- Active reactions, particularly methuselahs, in conduits.
A signal travels through the space at a certain speed, which is an important measure since timing (especially synchronization) decides whether signal circuitry works or not.
Signals transform and interact in various ways. A lone signal can be created, reflected and/or flipped, delayed/advanced, multiplicated, transformed into other signal(s), or destroyed. Two or more signals can be synchronized, or subject to reactions that annihilate or perform logic operations. These rely on some devices, namely guns/factorys, reflectors, advancer, pulse dividers, fanouts, converters, eaters, Boolean logic gates, etc.
Note that signal circuitry in cellular automata is very different from that with other physical implementations. For instance, there is no law of mass conservation (population count is not fixed for many CAs) nor notion of potential difference in a force field.
How to find these building blocks?
| This page is under construction. Sorry for the inconvenience. |
Constructing signal circuitry involves both human idea and computer power. Here some simple demonstration may provide hints on how to do that.
Example 1: Conway's Game of Life, with the Gosper glider gun
The signal: glider
Imagine travelling back to the early life days in the 1970s. When tracking the evolution of small polyomino patterns, Life enthusiasts observed a moving configuration as follows:
Soon the spaceship became known as the glider, and found its part in the signal circuitry. Let's analyze its movement.
A glider travels one cell down and one cell right in four ticks, during which it shows two alternating shapes in a glide-symmetric manner. To reflect these facts we have some terminologies:

- Phase: the arrangement of cells in one tick. A glider has 4 phases.
- Period: the minimum number of ticks passed to appear in the same phase. A glider is period 4.
- Speed: the displacement in a period divided by period. A glider has speed (1,1)c/4.
- Mod: because the 1st&3rd phase are identical considering reflection and translation, and so does the 2nd&4th, a glider is said to have a mod of 4/2 = 2.
- Lane: the diagonal linear region where a travelling glider has covered or will cover. Since it is diagonal, a new metric for the distance parallel and perpendicular to the direction is invented. Define one half-diagonal (1hd) as the length of one half diagonal line of the square cell, that is, the distance between the blue line and the red line on the right.
Additionally, we will need to define parity and color so as to describe the relationship between two gliders. Gliders in the 1st and 3rd phase (or 2nd and 4th, with pairwise identical shapes) are said to have the same parity. Gliders in the same phase up to rotation but no reflection are considered to have the same color if their corresponding cell coordinates have even sum (or odd sum).
The signal sink: eater 1
An important question following the discovery of glider is, what can we use when we want to suppress a glider? A number of collisions between a glider and some simple patterns have been tested. Fortunately, the following 7-cell fishhook-shaped still life can kill a glider and then recover in four ticks.
This is called an eater, a subgroup of catalysts. It is reusable, and it allows for gliders to be eaten at any time without adjusting phases.
The signal source: Gosper glider gun
Since the discovery of glider, people have been seeking for patterns that generates gliders. Later, a sustainable collision between two queen bees was discovered that could yield gliders again and again. This is known as the period-30 Gosper glider gun:
Generally, a signal device may take a number of inputs and yield some outputs. When there are more outputs than inputs, it is said to be an over-unity reaction. With assistance, this kind of reactions are useful for constructing signal emitters. Taking no inputs and giving outputs periodically, the Gosper glider gun can be considered a degenerate example of over-unity reaction.
The glider gun has a period of 30, making a stream of gliders with apparent gaps. However, attempts to put a glider somewhere so that it goes across the stream perpendicularly unaffected will fail. Actually, the period needs to be at least 38 for two glider streams in order to be permeable:
This fact motivates us to find higher-period glider guns. We can simply arrange two period-30 glider guns and see how the gliders interact; it will be discussed later.
In the following sections, we will not discuss about the inner workings of the Gosper glider gun, instead it will be used as a whole.
Signal interactions: glider collisions
Next, we want to know how gliders can react with each other. Beginning with the simplest case of two gliders, we enumerated two-glider collisions. Of particular interest are the cases where two glider destroy each other completely:
These annihilation reactions will be the basis of signal devices below.
Also we observe the cases with clean output glider:
Looking closer, they are actually kickback reactions in which one of the gliders is reflected 180 degrees, which is somewhat limited. It would be better if there were two-glider collisions in Game of Life that
- give the output on a lane perpendicular to both of the inputs,
- kill one of the inputs while keeping the other unaffected, as in a Heisenburp-type fly-by deletion, or
- are clean unity or over-unity reactions themselves.
Yet, the 90-degree kickback reaction can be sometimes useful. In the following pattern, two gliders bounce back and forth between two period-30 streams of gliders, deleting every other glider and resulting a period-60 glider gun:
The other 2-glider collisions are not clean, as they leave some debris after interaction. These may also increase the period of a glider stream; as an example, the following period-60 glider gun uses a block-making reaction.
Signal reflectors
Signals don't turn around themselves, so reflectors are needed to adjust their orientation. Generally, a signal reflector takes one input signal and gives one output in a different direction.
With two Gosper glider guns, a period-30 glider reflector can be constructed. The plan is
- When there is no glider input, the two guns should not emit any glider at all.
- When a third glider comes in, it suppresses one of the two gliders above, leaving another one escape.
Take the first 90-degree annihilation reaction above, and we can construct the following period-30 oscillator with guns in-phase:
Drop in a third glider so that it destroys one of the gun outputs:
That's it, a working 180-degree glider reflector! But with 180-degree reflectors only we cannot get a glider to wherever it needs to be. We will then look for a 90-degree reflector. Relocate the glider so that it destroys a gun output head-on rather than at right angles, which leads to the following two:
Why are both included here? Because we start to take color and parity into consideration. As stated above, the relationship between two gliders is described with the concepts of color and parity. As they are independent considerations, there is a total of 2 × 2 = 4 combinations of preserving and changing cases.
However, the color-changing/preserving and parity-changing/preserving considerations are actually insufficient for arbitrary glider timing adjustments. Suppose two 90-degree reflectors are combined into a flexible 180-degree reflector. By moving in or out the composite device by one full diagonal, the path length will be changed both on the outward lane and the inward lane, thereby advancing or delaying the glider by 4 × 2 = 8 ticks. A partial solution is to swap the two 90-degree reflectors when one is color-changing and the other is color-preserving; this changes the timing by 4 ticks. Yet, we still need to develop mechanisms at different mod-8 timings.
Signal inverter/NOT gate/AND (NOT) gate
Signal duplicator/fanout
XOR gate
AND gate
OR gate
Example 2: Banks-I
- Also see: Introduction to Banks-I
Banks-I is an isotropic non-totalistic Life-like cellular automaton for which investigation began in the infant of Game of Life.
Prerequisities: signal and its source & sink
A "wire" consists of a three-cell-thick block of live cells, and a "signal" is carried by a duoplet-shaped perturbation travelling at lightspeed along the edge of a wire. A five-cell bump extension and an additional cell on the edge can kill a signal.
Signals can be emitted at regular intervals with a "clock". These devices are essentially period-2n signal factories driven by Rule 90 replicator loops.
Example 3: B2a/S, with the replicator
B2a/S is also an isotropic non-totalistic Life-like cellular automaton, but with only one birth transition. It is characterized by the only moving configuration, the domino replicator, that messes up every random configuration:
Prerequisities: signal and its source & sink
Summary
Be innovative!