Blog
Workshop notes
What I learn while building: technical decisions, mistakes and things that worked.
- 2 min read
A 3D hero that doesn't punish your phone
How I built the space scene on this portfolio with three.js without making the text wait for 3D or draining the battery on mobile.
- 5 min read
A canvas 2D galaxy background, cheap and stateless
How I animate thousands of stars behind a landing page with canvas 2D: position as a function of time, relative units, theme colors, and reduced motion.
- 4 min read
Testing against real Postgres without Docker: PGlite and production migrations
How I test the sales services of an optical shop system with Vitest and PGlite: in-memory Postgres, real migrations, and a fresh database per test.
- 5 min read
Exact distances on a 3D grid, in linear time
Felzenszwalb's distance transform explained with Vaciado's code: parabolas, separable axes, and how the field shapes the mold.
- 4 min read
A .docx by hand: Word is a zip of XML
How Equivale builds the meal plan as a Word file in the browser without a Word library: three XML files packaged with JSZip.
- 5 min read
One character, one server: tickets and locks in Redis
How I keep a character from living on two map servers at once, and duplicating items, with single-use tickets and a token-checked lock in Redis.