Writing

Pictures drawn by code, with the contrast stated in words

Image models are good at ideas and bad at exact geometry. Ask for a ring with a closed arc in two specific colors and you will usually get something close, but not exact. For visual styles where exact matters, I draw the picture with code.

SVG Lab is a playground for pictures drawn by code. It has fourteen generators in four groups: typography (type on rings, weight wave, drawn letters, word morph), shapes (rings and moiré, Truchet tiles, Voronoi cells, flow fields, superformula, boolean shapes), color (a contrast ladder and a saturation and lightness grid), and motion (shape morph, orbits).

SVG Lab on the Gallery tab. Typography shows Type on rings reading ACCESS FOR EVERYONE, Weight wave reading EVERYONE, Drawn letters reading OPEN TO ALL, and Word morph reading BARRIER / ACCESS. Shapes below show concentric rings, Truchet tiles, Voronoi cells, a flow field, and contour layers. Dark theme and Grayscale preview buttons are at the top right.
The gallery is the overview. Each card is a small program, and opening one loads its settings in the Studio.

The Studio builds its sliders and switches from each generator's own settings list, so adding a generator does not mean building a new interface. Each picture has a seed, four colors, texture controls, presets, SVG and PNG export, and a link that reproduces it exactly.

The accessibility choices are the part I would point to. Every picture gets a WCAG contrast table computed in code, and the result is stated in words, so judging it never depends on seeing hue. Motion starts only when you press Play. A separate Interactions page holds eight real controls (switch, save button, checkbox, focus rings, loaders, progress ring, status change, disclosure) with duration, easing, and reduced-motion settings.

SVG Lab on the Studio tab running the Contrast ladder generator. Seed a11y, target ratios 1.5, 3, 4.5, 7, and 12, blended in OKLCH. Five bars on #f4f1ea run from #a3cede at 1.51 to 1, #2897b8 at 3.03 to 1, #00799a at 4.47 to 1, and #005978 at 6.96 to 1, to #003250 at 11.95 to 1. The picture is 2.5 KB of SVG.
The Studio prints each ratio under its bar, which is the contrast check stated in words.

Try the ladder

Choose a base color and a background. The page searches lightness at that hue until each swatch meets a target ratio, then states the hex, the ratio, and the WCAG result in words.

There is no model and no network. That is also why it is the easiest of my labs to publish: it can run as plain static files.

Limits

SVG Lab is local-only today. The static public build is planned, not shipped.

The same habit, stating a computed check in words, shows up again in Let the model suggest; let code do the parts that have to be right. The lab is on Projects.

Sources