automaton

A cellular automaton on .x.

automaton(config: {birth: readonly number[]; survive: readonly number[]}): AutomatonOp

Import op from shaders/std and use op.automaton.

Parameters

NameTypeNotes
config{birth: readonly number[]; survive: readonly number[]}

Example

`op.automaton({birth: [3], survive: [2, 3]})`