Motion
Get Motion

ReferenceLayersSimulations

Cellular automata

The Game of Life and its relatives.

Kind
Layer · Simulations
Script name
automata
Cost to draw
Moderate
Reacts to
the pointer
The Cellular automata layer with its default settings
The Cellular automata layer with its default settings.

Cells

SettingKindStarts atRange and notes
RulerulechoiceLifeLife, HighLife, Seeds, Brian's Brain, Day and Night, Maze, My own
My own rulecustomwordsB3/S23Born and survives, as in B36/S23
Cell sizecellnumber6 px2 to 24 px
Generations a secondspeednumber121 to 60
Starts withdensitynumber30%5% to 60%
Borncolourcolour and alpha#caecffff–
Fadingcolour2colour and alpha#3fd0c9ff–
Fadefadenumber60%0% to 100%How long the dead glow
Keeps it goingreseednumber30%0% to 100%Sprinkles new cells now and then
The pointer draws cellspointeron or offon–
Starting cellsseedseed1–

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called Cellular automata:

scene.set("Cellular automata", "cell", 24);scene.animate("Cellular automata", "opacity", 0.5, 2);
What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.