Wardian docs

Game of Life

Try it

The app runs here in your browser. Nothing you type leaves it. Open it on its own.

Download life.wardian Import it in Wardian: Settings → Import.

For anyone curious about how simple rules make complex patterns: watch Conway's Game of Life run, draw your own cells, drop in the classic patterns, and try other rules. The whole simulation runs in WebAssembly, so even the biggest grid plays smoothly.

What you put in#

There is no typed input, so every value is valid by construction: each control offers only allowed values.

What it shows#

How it behaves#

Layout#

How it is built#

FileWhat it is
index.htmlThe page: the run, world and help panels, and the board.
app.jsPlays the generations, draws the board, reads clicks, and holds the patterns.
src/lib.rsThe world: init, set_rule, set_cell, get_cell, clear, randomize, step, population, render.
app.wasmBuilt from src/lib.rs by ./build.sh.
ui/The Wardian component library: theme, button, field, card, switch, type, surface and Arrange.

This page is apps/life/README.md in the repository. Something wrong or missing? Change that file.