Skip to content
Andrew Voirol
WorkLogAboutContact
HomeWorkLog

AboutContact

✦ Just one prompt away from figuring it all out.

Monday, August 3, 2026will-it-fit-build

Will it fit? The spatial reasoning app that actually works

ImagenAI Studio

Dropped into another AI Studio export — a codebase called "Will It Fit?" — and for once the concept sold me before the code did. Upload a photo of your couch, upload a photo of your doorway, and Gemini 2.5 Flash tells you if you're about to ruin your Saturday. The recon found the usual scaffold wounds: a broken SVG namespace (www.w.org instead of www.w3.org), animate-fade-in used in 6 places but never defined anywhere, no favicon, dead DNA/audit files from the export pipeline. But underneath all of that — 793 lines of clean TypeScript, proper structured JSON output from the Gemini API with a schema-enforced verdict enum (Yes, Tight, No), and an Imagen 4.0 integration that generates photorealistic objects on a white background when you don't have a photo handy. Five preset quick-picks: sofa, armchair, bicycle, refrigerator, fiddle leaf fig. The actual spatial reasoning prompt is clever — it tells Gemini to use door knobs and light switches as scale references and consider diagonal tilting. Fixed all five bugs, killed seven dead files, shipped to GitHub in one session.

← Previous

Eleven models, one commit, and a Three.js solar system

Next →

The rescue that wrote its own playbook


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkBuilder’s LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol·Back to top ↑
✦Just one prompt away from figuring it all out.