▸ note01
Reuse, don't copy
An object on the canvas is a reference to the library plus position, rotation and color overrides. Its markup is inserted as is into <g transform> — only colors and id prefixes change, so duplicates never conflict.
guest@gubanov:~$ cat ./projects/illustrations/README.md
A builder that turns a headline into an isometric illustration — from a library of SVG objects, without drawing anything new.

// context
The service assembles isometric illustrations from a ready library: 10 objects in two sizes, each with a main (colored) and a background (monochrome) state. It never draws new shapes — it chooses, arranges and recolors.
Two ways in: by meaning — a headline or a metaphor is matched to objects through a dictionary of associations, or through Claude when an API key is set on the server; and by composition — an explicit list of components with counts and states.
Built with Claude Code on Claude Opus 5.5. The demo runs without an API key, on the built-in association dictionary.
Build by meaning from a headline or a metaphor, or by composition from a list like “lamp, phone, background headphones”; one more click gives another variant.
Four compositions — compact, offset, under a headline and close-up — in sizes S and L, on canvases such as a 1200×630 cover.
Editing: move, rotate, duplicate and delete objects, reorder layers, switch between the main and background states, recolor within the scheme; undo and redo.
Color schemes of 8 roles; a new one loads from a Figma sample (SVG or PNG), JSON or a list of HEX codes, and the scene recolors automatically.
Background decor, a scene scale that keeps the objects' proportions and a validator that keeps object colors out of the background.
Export to editable SVG with named layers and no raster inside.
Click a screenshot to open it full screen; arrow keys switch between them.
▸ note01
An object on the canvas is a reference to the library plus position, rotation and color overrides. Its markup is inserted as is into <g transform> — only colors and id prefixes change, so duplicates never conflict.
▸ note02
The canvas and the exported SVG are built by the same code, so what you see is exactly what you download.
▸ note03
Each SVG is rasterized into a coarse mask of its silhouette, and the layout places objects by those masks — close together, but never overlapping.
▸ note04
The by-meaning mode asks Claude for a structured answer validated with Zod. Without an API key the built-in association dictionary does the job, so the service works without the model too.
React 19
editor interface
TypeScript
the core: SVG, layout, palettes, export
Zustand
scene state, undo and redo
Vite
dev server and build
Zod
schema of the model's answer
Claude API
metaphors in the by-meaning mode
Node.js
/api/interpret behind nginx
Vitest
25 tests of the core