An AssemblyScript example. Continuously updates the cellular automaton and visualizes its state on a canvas.
To build assembly/game-of-life.ts to an untouched and an optimized .wasm including their respective .wat representations, run:
$> npm run build
Afterwards, open game-of-life.html in a browser (ideally one that allows fetching the .wasm from the local filesystem).