Plate № 48 · Craft · editorial & presentation

A pattern from the gf.cx specimen book

Generative motif fields, procedural card art from a slug

Source · Dan, 2026-09-16 · looking at the sandbox /new cards

"'a' is the best — I would suggest variances in the images, very abstract right now, maybe a little more translatable." … "Loving the styling — you should save it to patterns as a new element." … "Non-innovation cards need to be muted and easy on the eyes."

The problem

The what's-new index pays for itself by being pure data: a surface's /new page carries only a JSON blob of {title, desc, url, date, sec} and the shared shelf renders it. That is exactly why the cards view looks thin. There is no per-item artwork to render — the generator never had a picture for each demo — so every card is the same title-over-description rectangle. Worse, a real portfolio has holes: on the sandbox shelf, seven of twenty-two demos ship with an empty desc, and an empty description in a card grid is blank real-estate — a card that reads as unfinished. You can't hand-draw an icon per item (the list is generated, and grows), and a stock decoration on every card is noise, not signal.

The model

Give each card a generative field — an abstract SVG band drawn by a small function, not an asset fetched from anywhere. Four moves make it feel authored rather than random:

The layer is additive: it observes the shared shelf's #list and, whenever the shelf re-renders cards (a sort, a view toggle), prepends the band and fills the derived line. The shelf stays authoritative for render/sort/view; a surface that doesn't opt in is untouched.

One representative field per family

Each tile below is real generator output for the demo slug named — the same art the live shelf draws:

signal Voip · voice · telephony
route Shipping · things that travel
strata Backup · archives · versions
network Agentic stack · integrations · round-trips
lattice Password · locks · strength
ledger Budget · money · tallies
frames Autovideo · sequences · panels
bloom fal · generation · discovery

Abstract on purpose: a field evokes the kind of thing a demo is without illustrating it literally, so it reads at a glance and never goes stale against the content.

Intensity — vivid for innovation, muted for reference

The motif intensity scales with what the surface holds, chosen with one attribute on #list:

Same generator, same families — the mode is a first-class setting, not a fork, so a reference surface opts into calm without anyone maintaining a second copy.

Delivered as one opt-in asset

The whole layer is two files on the shelf — assets.gf.cx/new-index/motif-fields.js and motif-fields.css — the same delivery as the what's-new index it sits on top of. It does nothing unless the page opts in with data-motif-fields on #list, so linking it is safe portfolio-wide and each surface decides for itself:

<link rel="stylesheet" href="https://assets.gf.cx/new-index/motif-fields.css">
<div id="list" class="view-lines" data-motif-fields data-motif-label="sandbox demo"></div>
<!-- after the new-index.js shelf script -->
<script src="https://assets.gf.cx/new-index/motif-fields.js" data-cfasync="false" defer></script>

The generator itself is a bannered, liftable block inside the JS — the hash, the PRNG, the eight family functions, the family map, and the colour de-collision — so it can be carried elsewhere without the observer glue.

Where it applies

Reach for this on any card grid that is generated from a data list and therefore can't carry hand-made per-item art: a demo shelf, a changelog, a catalogue. Vivid where the items are the show; muted where they're a reference. In use: sandbox.gf.cx/new (vivid) and library.gf.cx/new (muted).

Reusable elements

Named, copyable pieces — lift any one without the others:

Reference

Source
Dan, 2026-09-16 — refining the sandbox /new cards ("more translatable"; "save it to patterns as a new element"; "non-innovation cards need to be muted and easy on the eyes"). Design was A/B/C-explored (variant A chosen, then refined).
In use / example
sandbox.gf.cx/new (vivid) · library.gf.cx/new (muted).
Sits on
The what's-new index — this layer adds card art to that shelf without modifying it.
Reusable elements
motif-fields.js · motif-fields.css · the eight families · slug-seeded determinism · per-family-index colour de-collision · vivid/muted mode (all above).
Build cost
One <link> + one <script defer> and one attribute on #list. The asset caches portfolio-wide; a change to the families or palette propagates from the one file.