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
| Name | Type | Notes |
|---|---|---|
config | {birth: readonly number[]; survive: readonly number[]} |
Example
`op.automaton({birth: [3], survive: [2, 3]})`