writing about code, design, and things i learn.
a step-by-step tutorial building svg-to-particle morphing on canvas. starts with 100 dots on a grid, ends with a full interactive playground.
how i built brydon.io with next.js, mdx, three.js particles, and a monospaced design system.
how the decorator pattern let us layer payment failure handling across four billing strategies with zero changes to existing code.
how we moved from stripe's built-in proration to a strategy pattern with four billing modes — and why the decorator pattern made dunning trivial to add.
how we replaced simple role checks with a typed, registry-driven permission system — with dependency graphs, scope filtering, and a zero-downtime migration path.