guest@gubanov:~$ cat ./projects/illustrations/README.md

Illustration Generator

A builder that turns a headline into an isometric illustration — from a library of SVG objects, without drawing anything new.

Type a headline or a list like “book, lamp, 2 coins, background vase” — the service picks the objects, lays them out and lets you edit and recolor the scene before downloading a layered SVG. Built with Claude Code on Claude Opus 5.5.

role01
Brief and review
period02
Nov 2026
team03
Me + Claude Opus 5.5
type04
Web app
illustrations-generator.gubanov.work/
By meaning — “How to sort out personal finances” turns into a wallet, a folder and coins
fig.00By meaning — “How to sort out personal finances” turns into a wallet, a folder and coins
[01]guest@gubanov:~$ cat overview.md01 / 05

Overview

// 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.

[02]guest@gubanov:~$ cat ./work.log02 / 05

Features

Built with Claude Code on Claude Opus 5.5. The demo runs without an API key, on the built-in association dictionary.

  1. 01

    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.

  2. 02

    Four compositions — compact, offset, under a headline and close-up — in sizes S and L, on canvases such as a 1200×630 cover.

  3. 03

    Editing: move, rotate, duplicate and delete objects, reorder layers, switch between the main and background states, recolor within the scheme; undo and redo.

  4. 04

    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.

  5. 05

    Background decor, a scene scale that keeps the objects' proportions and a validator that keeps object colors out of the background.

  6. 06

    Export to editable SVG with named layers and no raster inside.

[03]guest@gubanov:~$ open ./screens03 / 05

Screens

Click a screenshot to open it full screen; arrow keys switch between them.

fig.01By composition — “book, lamp, 2 coins, background vase”, size S, the Mint scheme
fig.02Close-up composition in the Lavender scheme
fig.03Color schemes — load a palette from Figma, JSON or HEX codes
fig.04A selected object: state, rotation, layer order and recoloring
[04]guest@gubanov:~$ cat ./notes/architecture.md04 / 05

Under the hood

▸ 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.

▸ note02

One renderer for canvas and file

The canvas and the exported SVG are built by the same code, so what you see is exactly what you download.

▸ note03

Layout by shape masks

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

AI with a fallback

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.

[05]guest@gubanov:~$ cat package.json05 / 05

Stack