- S Key: Pause
- A Key: Move Backward
- Once the beginning state is reached, the simulation is switched forward and paused.
- D Key: Move Forward
- W Key: Step Forward
- Mouse Click: Flip Cell
- Note that each cell must be flipped individually. Flipping cells is most effective when the simulation is paused.
The project is a static site so any http server that serves
the index.html
will do. I use and personally recommend
simple-http-server.
If you are using simple-http-server,
just run (in the root directory of this project):
simple-http-server -i
-
This project was created for Jim Mahoney's Coding Workshop class from the Fall of 2021.
-
I was able to remove my dependency on Underscore.js using a few tips from You Don't Need Lodash/Underscore (primarily for the replacement of the range function).