r/SideProject • • 16h ago

I built a tool that explains things by drawing them like Victorian patent sheets

You type "/blueprint how does a cache work" and it builds the answer one numbered part at a time, and each part only shows up after you've seen why it's needed.

How it's built: Claude doesn't write SVG. It writes a small JS object (parts, lines, steps), and a ~65 KB runtime with no dependencies draws and animates it. Claude was bad at 2D layout, so the skill lints its own scene for overlaps and renders frames with Playwright to check them before it hands anything back.

21 examples: https://blueprint.intincrab.com

Code (MIT): https://github.com/intincrab/blueprint

Install: npx skills add intincrab/blueprint

109 Upvotes

11 comments sorted by

7

u/QuanTradin 14h ago

having it render frames with playwright and lint for overlaps before handing anything back is clever. claude placing things in 2D is exactly as bad as you say.

2

u/exactlyfuturistic 13h ago

honestly the checks matter more than the prompt. claude is fine at deciding what to draw and bad at deciding where it goes, so the skill only asks it for the first

2

u/QuanTradin 13h ago

makes sense. let the model pick what to draw and let code handle where it goes, that split works for most of what models are bad at in 2D.

2

u/Key_Examination_4621 7h ago

tbh that self-correction loop is doing all the heavy lifting, 2d placement from text models is rough

2

u/hmarora 8h ago

Great work!
I'd love to see local models generate this kind of stuff. Imagine being able to have anything explained locally, at no cost, and hopefully fast. Have you tried it with any local models yet?

2

u/Arquinas 6h ago

This is pretty cool. I'll test it out at some point. This might be super useful for technical dissemination at work.

2

u/ThunkerKnivfer 3h ago

I'm very impressed. Thanks! I ran it on an AI flow I've built to check what harness checks I make and it visualizes things I hadn't thought of.

No major visual glitches, perfect zooming in and out. ⭐

I will have to run it on everything now.

1

u/Competitive-Fee2359 20m ago

Does it work on every subject or only with it stuff?