I Built a Cellular Automata Explorer in WebAssembly — Here Are 21 Visual Experiments
The project Over 21 days in May 2025, I used cellular automata as a daily sketchbook: one tool, one new constraint, one visual experiment per day. The result is CellCosmos — a browser-based element...

Source: DEV Community
The project Over 21 days in May 2025, I used cellular automata as a daily sketchbook: one tool, one new constraint, one visual experiment per day. The result is CellCosmos — a browser-based elementary cellular automata explorer. The twist: the core automaton logic is written in French-syntax source code using a multilingual programming language I've been building. That French source is compiled to WebAssembly (WASM) and runs at near-native speed in the browser. 🔗 Live tool: multilingualprogramming.github.io/cellcosmos 📦 Source (GPL-3.0): github.com/multilingualprogramming/cellcosmos How it works technically A cellular automaton starts with a finite grid of cells. Each cell holds a discrete state (in CellCosmos, small integers representing phases or ages). At each time step, every cell updates simultaneously based on a lookup at a small local neighborhood. For a 1D elementary CA (the Wolfram model): Each cell looks at itself and its two immediate neighbors → 3 cells → 8 possible binar