Wolfram's Cellular Automata in Node

By Liam Ilan

Wolfram's Cellular Automata is a form of 1 dimensional cellular automata in which all possible rules are encoded into one byte as described here:

This is an implementation of this system in node.

How to use

First clone the repo by using:

$ git clone

To run the project, enter the directory, and then use:

$ node index.js 18


$ node index.js {rule number between 0 to 255}

Interesting rules:


Initialize inside the directory using:

$ npm init

To run eslint use:

$ npm run lint