case file · 23 / web app · 2025 · active
Lattice
Self-hosted Gridfinity layout manager with a genuinely tricky auto-baseplate 2D bin-packing algorithm (unit-tested), full CI/CD to homelab.
imagery pending — placeholder plate holds the slot
the engineering move
computeBaseplateLayout solves a real 2D bin-packing subproblem: tile an arbitrary half-cell-precision surface with a minimal set of printable baseplates — covered by 25+ unit tests on the geometry module alone.
scale
- api routes
- 19
- geometry tests
- 25+
stack
- Next.js 15
- TypeScript strict
- Prisma + PostgreSQL
- @dnd-kit