My personal website which uses Rust code compiled into WebAssembly to run Conway's Game of Life as well as any elementary cellular automaton based upon its Wolfram code.
Make sure to have the following installed:
Rustwasm-packto install run:cargo install wasm-packpython3(if you want to use the built in webserver for testing from the Makefile)make
automatonis an additional Rust crate provides Wolfram elementary cellular automata (rule 110, etc.)
make cleancleans the projectmake buildbuilds the WebAssembly and copies the needed file to the /web/pkg directorymake runstarts the python3 webserver and serves up the web page with the corresponding WebAssembly code (so long as you build it first)