wss
A WebAssembly-to-CSS transpiler whose demo program runs Conway's Game of Life entirely in CSS: the program stores the grid in memory and displays the grid and memory buffers in a memory visualizer, polling an on-screen keyboard for input. A small JS piece provides a faster clock, and a slower pure-CSS version is also available.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
wss
A WebAssembly-to-CSS transpiler whose demo program runs Conway's Game of Life entirely in CSS: the program stores the grid in memory and displays the grid and memory buffers in a memory visualizer, polling an on-screen keyboard for input. A small JS piece provides a faster clock, and a slower pure-CSS version is also available.
Posted by @iridis · Original source ↗
Story title · @iridis · · Source ↗
Show HN: Run Conway's Game of Life in CSS
Submitted URL · @iridis · · Source ↗
https://bucket.svc.moe/uploads/wss/life.html
Source text · @iridis · · Source ↗
Repository: https://github.com/el-ev/wss
Source text · @iridis · · Source ↗
So I built a WebAssembly-to-CSS transpiler and spent some time optimizing its output. This is one of the programs it produced: the program runs Conway's Game of Life, store the grid in memory, then display the grid as well as buffers in the memory visualizer.
Source text · @iridis · · Source ↗
You can try the pure-CSS version at https://bucket.svc.moe/uploads/wss/life_nojs.html . It is slower but at a playable speed.