// the lab
Things I built that actually run.
Each tile below runs against a real backend I deployed. No sandbox, no fake data. Open one, click around, and you're hitting actual code.
Crucible
Browser-based system design simulator. Drag a 23-kind component catalog onto a canvas, wire it up, drive 1→1M rps, inject chaos, watch live p50/p99 latency, throughput, queue depth, and error rate per node. Architectures actually run: Go simulation engine compiled to ~200 KB of TinyGo WASM, hosted in a Web Worker, driving a SvelteKit 2 + Svelte 5 (runes) + @xyflow/svelte canvas. No server, no SSR, deployed static to Vercel.
- Hybrid scheduler: event-driven sim clock (min-heap, no idle ticks) + fixed-cadence render clock (~33 ms) in the Web Worker — two ceilings (wall budget, event cap) cover runaway producer and runaway sim time
- Deterministic by construction: PCG32 RNG seeded once, min-heap ordered by (time, seq), integer-ns clock — same seed + same topology = identical byte-for-byte run, enabling share-replay
- 23-kind component catalog mapped onto 6 engine archetypes (source · loadbalancer · service · cache · database · queue) via `engineKind`, all behind one `Node` interface
- Live per-node metrics: throughput, p50/p99 latency, in-flight, queue depth, error rate, sparklines — 512-sample ring buffer with insertion-sort percentile and a 10 × 100 ms sliding throughput window
// control room Reactor control room A live nuclear reactor simulator. Real point-kinetics physics, a 3D core, fault drills
and an operator-assist advisor. Pull the rods, run a SCRAM, balance the grid. // trading desk Day-ahead market desk A live Nord Pool auction. Real uniform-price merit-order clearing across a fossil-free
fleet, a carbon-price lever, wind scenarios and an optimal battery arbitrage scheduler. // solar array Solar array desk A live PV array on the single-diode cell model. Real I-V physics, MPP tracking, and a
real irradiance day pulled live from Open-Meteo. Push it into the heat and watch yield drop. // offshore wind Offshore wind studio A live offshore farm on the Jensen wake model. Drag the layout, swing a real North Sea
wind day from Open-Meteo, and let the annealing optimiser recover wake losses.