stately.js

Stately.js is a JavaScript based finite-state machine (FSM) engine for Node.js and the browser.

@thi.ng/cellular

Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.