Click the gray rectangle in the upper left corner.
Click "Rules" on the bar.
Select "Moore Yuppie Worms", "Moore Hipster Worms" or "Moore Bohemian Worms" from the "Rule" menu.
Click and drag in the cells to draw!
If the flashing is driving you insane:
Click "Simulation" on the bar.
Drag the "Steps per Frame" slider to 7.
The "Worms" rules have a 7 step cycle, so showing every 7th frame stop the stroboscopic effect. But when you draw on every 7th frame you don't get as many edges for it to chew on, so scribble around to get the spirals started and get the feel for the system, before you switch to 7 steps per frame.
Click in the left side of the bar (where the original gray square was) to close the interface to play.
Click the gray rectangle in the upper left corner.
Click "Rules" on the bar.
Select "Eco Heat" from the "Rule" menu.
Click and drag in the cells to draw!
Use the mouse wheel or drag two fingers up and down the trackpad to add and subtract heat from the system. (You might tweak "Rules" / "Frob Scale" towards zero to make it less sensitive.)
The "ANNEAL" rule running in one plane defines where land and water are, and the land and water areas quickly congeal into continents and oceans like the spots on a cow.
The "BRAIN" rule runs in the water.
The 1's complement of the LIFE rule ("DEATH") runs on land.
They interact along the shores, stimulating each other where they meet.
The higher 5 bit planes are running a heat diffusion, which the ANNEAL, BRAIN and DEATH rules inject heat into.
So it's like the little organisms generate pollution that diffuses into the environment!
Play around with "Rules" / "Frob Target" to continuously add or subtract heat (pollution) from the environment.
Look at the histogram below and see if you can adjust it to get an equilibrium.
Once the pollution rises (or lowers) to a certain level in a cell, it wraps around to zero and kills any organism in that cell, and toggles between land and water, which can cause some interesting phase transitions and disasters of biblical proportions!
Oh, and you can click in the histogram to set the cell drawing value!
https://en.wikipedia.org/wiki/Belousov%E2%80%93Zhabotinsky_r...
The essence of a cellular automata rule that exhibits BZ reactions is:
There are two forces at work playing off against each other: stimulation and inhibition. Stimulation is implemented by observing your local surrounding neighbors. Inhibition is implemented by a delay. The result is beautiful spiraling oscillations!
A cell can be stimulated or quiescent (one bit). And it has a timer to remember how long ago it was stimulated (typically another bit). When it's quiescent, and the stimulation condition is true, it becomes stimulated, and sets the timer. In subsequent steps, it finishes being stimulated, then the timer expires, and it can't be stimulated again until the timer expires.
The stimulation condition is usually a counting rule, like Life: it sums the number of stimulated neighbors, and then uses that to index into a look-up table to decide its next state.
The effect is that waves of stimulation spread out throughout the medium, and the wave's leading edge propagates into areas that are not stimulated, until it hits another wave, and they cancel each other out or reflect waves in other directions.
The trailing edge of the wave is caused by the inhibition, and consists of cells that have just been stimulated and won't be stimulated again immediately -- that way the wave spreads in one direction instead of all directions at once.
By changing the stimulation condition, you can generate different shapes of waves, which usually develop into interlocking spirals forming around stable nucleation patterns.
One metaphor for how this rule works is to the worm-like animals in a coral reef, who come out of their shells to feed, then pull back inside their shells when tickled by adjacent worms pulling back, only to come back out after a short time. That's why this particular CA rule is called "WORMS" (in Toffoli and Margolus's "Cellular Automata Machines" book).
Here's some JavaScript code that implements three kind of worms, with three different kinds of stimulus conditions (alarms), which I call "Yuppy Worms", "Hipster Worms" and "Bohemian Worms":
https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
The "Yuppy Worms" are all uptight, geometrical and diagonal. The "Hipster Worms" are more relaxed and rounded. And the "Bohemian Worms" are all rough and fuzzy and organic.
The Yuppie and Hipster look-up tables vote with the majority (for different definitions of majority), while the "anneal-like discontinuity" in the Bohemian alarm table is kind of like a non-conformist tie-breaker voting the other way when the vote is almost even (which is the essence of the "anneal" CA rule). That causes turbulence and roughness, so it looks much more organic than geometric.