Code

Interactive Projects & Experiments

Reynolds Flocking

Boids

Emergent flocking from three local rules — separation, alignment, cohesion — running in WebAssembly.

  • Zig
  • WASM
  • Canvas
Open Demo
Cellular Automaton

Game Of Life

Conway's classic automaton — four rules that produce gliders, oscillators, and chaos on a toroidal grid.

  • Zig
  • WASM
  • Canvas
Open Demo
Tournament Sim

World Cup Predictor

World Cup 2026 — pairwise this-or-that picks feed a Bradley–Terry model and a Zig engine that simulates the bracket.

  • Zig
  • WASM
Open Demo