Every Thistle on This Knitted Cloth Grows From Its Own Seed

Thistle is the newest pattern piece, made on St Andrew's Day. It is a knitted cloth with thistles embroidered on it: rows of sprigs sewn onto plain knitting, with a narrow knitted band between one row and the next. Each sprig is grown from a seed, so no two on the cloth are the same, and the cloth goes on for as far as you care to drag.
Three of the presets: thistle, andermas and moss. Every sprig on a cloth is different.
A doodle in two techniques
Google's doodle for St Andrew's Day this year was a strip of cream knitting. The name was worked in navy, with a unicorn at each end, a saltire in each corner and a border of small diamonds, and the two Os were thistles in raised embroidery.
Google's doodle on 30 November 2026, as it appeared on the search page, with its tooltip. The image is Google's.
Every pattern piece so far has been one material: tile, brick, iron, silk, wool. The doodle is two on one cloth. The knitted parts sit on the grid of the stitches, and the embroidered thistles lie across that grid at whatever angle the needle took.
I already had both halves. Fair Isle knits, and the Mantón de Manila embroiders silk with a satin stitch that changes brightness as the light moves. Thistle puts the second on top of the first. Nothing is traced from the doodle. There are no letters, unicorns or flags, and the thistles are grown by the code described below.
The knitting keeps to its chart
The ground is knitted by azulejeria/knit, the module Fair Isle uses. A stitch is a V, one unit wide and 0.8 high. The cloth is 56 plain rows for the sprigs to stand on, then a band, then the same again. The band is written the way a Fair Isle cloth is written (lozenge, cross, star11) and keeps Fair Isle's two rules: two colours in a row, and no loose strand carried for more than seven stitches. The advanced tab offers nine bands, or plain wool with no band.
A sprig stands on every 36 stitches, and each row of sprigs is moved 18 stitches along from the row above.
The embroidery is measured in the same units and ignores the grid. A thread is 0.3 of a knitted stitch wide, and a stitch of embroidery starts and ends wherever its shape puts it.
Two heads at 34 pixels a knitted stitch. The wool is in rows of Vs, and the thread lies across them at any angle.
A sprig from a seed
Each sprig takes its random numbers from the cloth's seed and its own place in the repeat. The same seed always gives the same cloth, and a double tap gives another.
The stem is a curve 19 to 23 stitches tall that leans a little to one side. It is worked in stem stitch: a cord with the slant of each stitch marked across it. The "growth" slider decides how much the stem carries, from one head and three leaves to three heads and six leaves.
A leaf is the Mantón's leaf with its edge cut. It is two halves, one on each side of the midrib, and each half is satin stitch laid at about 50 degrees to the midrib, in opposite directions. Each half is cut into five lobes, and each lobe ends in a short pale stitch for its spine.
A head is sewn in the order a needle would sew it. The tuft goes down first: about eighty long straight stitches fanned out from the neck, a long dark fan behind and a shorter pale one in front. Each fan is laid from its outer edges inwards, so the middle stitches lie on top. Then the green cup is stitched over the foot of the tuft. Its scales go on last, in five rows from the top down, so that each row covers the feet of the row above. The scales alternate between two greens and two directions of thread.
Growth at 1 and at 5, with the same seed.
The light is in the angle of the thread
Nothing in a sprig is shaded by hand. Each stitch carries the angle its thread lies at, and its brightness is how far that angle is from the light: lit = |sin(direction - light)|. A thread is brightest when the light falls across it and dullest when the light runs along it. That is the Mantón's rule, and here it lights all three kinds of stitch.
The tuft shows it most clearly. Its stitches fan through about 130 to 145 degrees, so some always lie across the light and some along it, and the bright part of the fan moves round as the light turns. The two halves of a leaf swap which is bright. "Turn the light" on the advanced tab keeps it moving. The knitting is painted once and kept, so each frame redraws only the thread.
The same sprig with the light at 15 degrees and at 105.
Thread stands proud of wool
Silk embroidered on silk lies nearly flat. Thread sewn onto knitting stands up from it, so every stitch here casts a shadow on the wool. The shadow is the stitch's own outline, moved away from the light by the distance on the "proud" slider (half a knitted stitch to begin with), softened and multiplied onto the cloth. The caster is azulejeria/shadow, which also casts the shadows of Jali's stone screen.
The ayrshire preset is white thread on white wool. It is named after Ayrshire whitework, the white embroidery on fine muslin that was made in Ayrshire in the nineteenth century. That was cotton on muslin and this is wool on wool, so only the idea is borrowed. With no colour, the sheen and the shadow are all that draw the thistle.
Ayrshire: white on white, with the stitching standing 0.9 of a stitch proud.
The stitches are in the package
The Mantón's satin stitch stayed on its own page until a second piece wanted it. It is now azulejeria/stitch, new in azulejeria 2.10.0, and both pages import it.
A design is a list of plain objects of three kinds. A satin stitch is a polygon, the angle of its thread and a pair of colours. A cord is a line with a width. A straight stitch is one thread from end to end. paintStitch paints whichever it is given, and silhouette gives a stitch's outline to the shadow caster. The light rule and the lay of the threads across a shape need no page, so their tests run in Node.
The move changed the Mantón. Its page mixed two colours into an rgb() string and then passed that string back in as if it were a hex colour. A canvas ignores a colour it can't read, so every shape on the darker face was filled with whatever colour the canvas had been left on, and most of the outer petals came out dark. The module's mix returns hex, and the shawl's roses and peonies now have all their petals in their own colours.
What the page leaves out
A real needle has to pass between the knitted stitches or through the yarn. Here a stitch of embroidery can end anywhere. There is no duplicate stitch, which is embroidery that follows a knitted V exactly, and the wool doesn't pucker under the thread.
There are six cloths: cream, navy, heather, moss, white on white and this site's colours. The navy one has a band of white crosses and is called andermas, after Andermes, an old Scots name for St Andrew's Day.
First published on stepinto.dev.




