Settings

Size:
Min. time per cycle (ms):
Display grid:
Cross borders:
Neighborhood:
Color:
Statuses:
Cell behavior:
Write your set of rules in JavaScript, there are 3 variables available: currentState is the state of the cell (between 0 and 1), memory is a key-value dictionary to store info about the cell and neighbors is the array of the cell's neighborhood (from left to right and top to bottom corners included, NB: some values can be undefined based on selected neighborhood type). Every neighbor in the array exposes the variable state (as the currentState above) and the method getFromMemory(key), that gives a value from its memory. The instructions must return the new state (between 0 and 1). NB: press Generate to apply the changes.

Neighborhood structure:
[ top-left, top, top-right, left, right, bottom-left, bottom, bottom-right ]


Cell statuses:
--

Stats

Cycles: --
Time per cycle: -- ms
FPS: --
Status: --

Drawing

Enable drawing:
Drawable cell status:
v1.9.2
Some examples on GitHub
Loading ...