Skip to main content

Sjónabók pattern synthesis

Growing new knitting patterns in the vein of Íslensk sjónabók

HiDEF Textiles is building a reproducible way to generate new two-colour knitting charts that look as if they belong in Íslensk sjónabók, the collection of old Icelandic embroidery patterns. All the source charts can be browsed in the Sjónabók gallery, and the data and code are in the Sjonabok repository. The first target is a long banner, in the spirit of a refill: border bands along both edges, the book’s motifs on a centre line, and new stitches that blend one motif into the next. It is 85 needles wide for the Passap E6000 and, in principle, endless.

This site explains the methods we have tried, in plain words, and shows what each one does on the same banner. In every chart you can switch between Pattern only (the two-colour knit) and Copied vs new, which colours what is taken straight from the book grey, invented stitches blue, and invented stitches that happen to recreate an exact 8×8 block from the book ochre.

The methods

Method In one line How it looks
Wave function collapse Sudoku with stitches: every 3×3 patch must occur in the book Sparse, broken up
Stitch-by-stitch sampling Look at the neighbours, copy what the book did Dense, flows out of the motifs
Image quilting Patchwork of small pieces cut from the book Dense, continues the motif texture
Symmetric connector Invent half a bridge, mirror the rest Ornamental bridges between motifs
Cellular automaton One simple rule computes each row from the last Crisp geometric lattices, not book-like

Two settings change every method: how far apart the motifs are, and whether the motifs themselves are new. An endless banner explains how any part of the banner can be regenerated exactly.

Where this is going

The roadmap lists the decisions still open before the C++ implementation. The literature review covers the research behind each method. Colouring (up to four colours, two per knitted row) is deliberately left until the patterns are right.

NoteRead more

Sjónabók (Icelandic Wikipedia) · Refilsaumur (Icelandic Wikipedia) · Njálurefill (Wikipedia) · Fair Isle (knitting) (Wikipedia)