miwale

Cross-Stitch Sampler — Game Art Style Spec

The whole world is a living cross-stitch sampler on Aida cloth: every cell is a real thread X, contours are backstitched.

The world is a piece of beige Aida fabric with visible holes. Everything that is not bare cloth is embroidered on a 3.2-unit stitch grid: characters and props are small cell grids in which every cell is a two-stroke thread cross with its own shadow, sheen and ply twist, outlined with a dark backstitch. Flowers are French knots and lazy daisies, water is satin stitch, collectibles are glass beads and sewing buttons, creatures are stitched into existence by a darting needle and unravel into loose threads when they disappear. It reads like grandma's Halloween sampler come to life — warm, cosy, tactile. The original modules show a main character with an orange pumpkin head and a navy cloak, small purple root creatures with leafy tops, pale-blue floating ghosts and a large purple-brown root colossus; everything below is written so you can use it for any project.

At a glance

FamilyTextile · Cross-stitch embroidery
Moodcozy, handmade, nostalgic, whimsical, autumnal
Best fortop-down arena or action games, cozy farming or adventure, grid puzzle/board games, seasonal projects
RendererCanvas 2D, fully procedural, no image assets
Pixel artNo (pixelArt: false) — native resolution, but all art is quantised to a 3.2-unit stitch grid
Complexity3/10 — works like pixel art on a coarse grid; new motifs are simple stitch patterns
FontsGrandstander (600–900) for numbers/titles, Mali (500–700) for text
Key coloursAida #dccaa5, outline #2b1d1d, pumpkin #e2701f, leaf #55843a, plum purple #83479a, pond #43729e, rust #a24f2a

When to use it

Color palette

Every colour is a named thread with a one-letter code (used directly in the motif strings). The real hex values:

SwatchCodeHexRole
Aida cloth—#dccaa5Fabric base (renderer clear colour #d9c8a4), ~50 % of the screen
Backstitch blackK#2b1d1dOutline thread of characters and props
Pumpkin dark / rust / orange / lightQ q O o#6c2817 #a4401b #e2701f #f59b40Main character's head, pumpkins, autumn trees
Candle yellow / paley Y#ffd23c #fff2a6Carved faces, eyes, glowing bits
Greens dark→lightG g l L#2d5230 #55843a #8daf55 #b3c07cMeadow stitches, stems, pines, crowns
BrownsB b k#45291c #7c4a2b #c79a66Trunks, roots, feet, path border
PurplesP p m#4f2560 #83479a #bc8ac7Small root creature body
Creamsc C w#f3e6bf #d8bc7f #fbf8f0Creature faces, seeds, highlights
Ghost bluesi I j#d5e6f2 #97b6d4 #3c5078Fast floating ghost (j = its outline + eyes)
Redsr R E#c3312b #7a1c24 #e65f3eScarf, hearts, mushrooms, highlighted numbers
Greysa A e#9f9a93 #5f5a58 #d0cbc2Gravestones, metal
Cloakd D#1d3f55 #2e6479Main character's body
Field ochref F h t#c99a3e #a6782e #e3b24d #f2d37cCrop rows, gold trees, gold accents
Rust forestx X z#a24f2a #84391f #6b3b24Forest floor fill
PondN n u W#2b4b70 #43729e #7faacf #bcd6eaSatin water, deep → shallow
Flowerss v V#e58ca2 #7b59a8 #a98bd0French knots, daisies
Shadow—#28160c / rgba(40,22,10,a)Every shadow

Palette rules

Typography

Google Fonts families as loaded by the module: Grandstander:wght@600;700;800;900, Mali:wght@500;600;700.

body { font-family: 'Mali', 'Grandstander', sans-serif; color: #4a2c1e; }
.timer { font: 900 35px/1 'Grandstander', sans-serif; letter-spacing: 1px; color: #a3302a;
  text-shadow: 0 1px 0 rgba(255,250,235,.9), 0 2px 0 rgba(90,30,15,.25); }
.value { font: 800 17px 'Grandstander', sans-serif; color: #7a1c24; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.label { font: 700 11px 'Mali', sans-serif; color: #6a3a1e; }

Text effects: a 1 px cream "embossed" highlight shadow below dark text on fabric; big titles ("Pause", screen headlines) are filled with a tiled cross-stitch texture using background-clip: text; color: transparent plus filter: drop-shadow(0 3px 0 #3a1a0c). Floating in-world numbers are not a font at all: they are 3×5-cell stitched digit motifs.

Rendering technique

World units: the camera shows 360 units vertically. One stitch cell C = 3.2 units; motif sprites are baked at CP = 8 px per cell (so K = C / CP = 0.4 units per sprite px), with a 2 px margin around each stitch sprite (SM) and 5 px around each motif (MP).

  1. Init — fabric: bake a 16×16-hole Aida tile (128 px). Per pixel: hole corners ×0.74, hole edges ×0.93, inner 2×2 weave checker ×1.03 / ×0.985, plus ±3.5 % row and column slub noise and ±3 % grain on base #dccaa5. Add 22 long 1-px slub threads (rgba(255,250,235,0.16) or rgba(110,80,40,0.08)), wrapped so the tile stays seamless.
  2. Init — stitches: for every thread colour bake 3 jittered variants of a full cross (makeStitch): two diagonal strokes (/ first, then \ on top), each drawn as shadow (rgba(40,22,10,.36), width 3.1, offset +0.45/+0.85), dark body (×0.7, width 2.9), top ply (width 2.0, nudged −0.22 up), sheen (mix white 0.5, α 0.75, width 0.7, from 18 % to 78 % of the stroke) and three twist ticks (×0.62, α 0.45, width 0.55). Endpoints jitter ±0.25 px. Half stitches use only the / stroke.
  3. Init — motifs: every character frame, prop, icon and digit is a cell grid → renderMotif: blurred shadow (blur(1.1px), α 0.42, offset 1.4/2.4 px) → underlay rect per cell (colour × 0.64, inset 0.6 px, so fabric barely shows) → one stitch variant per cell (hash(x, y) % 3) → backstitch outline along every silhouette edge (2.2 px) → inner contours (1.7 px) → free backstitch segments (stems, brows, mouths, 1.4–2.4 px).
  4. Per chunk (256 units = 80×80 cells), built incrementally as a generator: fabric pattern fill → classify every cell (meadow / forest / field / pond / path) → lighten path cells → merge stitched cells into per-colour row runs in a Path2D and fill each with a seamless 4×4-stitch pattern (createPattern with setTransform(DOMMatrix([K,0,0,K,0,0]))) → satin-stitch pond → decals → backstitched region borders → soft cloth-fold overlay.
  5. Per frame, world space: ground chunks → main character's light pool (additive) → collectibles → shadows → y-sorted props/creatures/main character (all snapped to the cell grid via blitCell) → orbiting lanterns → projectiles → particles → stitched floating numbers.
  6. Screen space: brown radial vignette sprite stretched over the screen; optionally a multiply dusk tint of #2a2050 up to α 0.16.
  7. Grid snapping: sprite origins are always whole cells: gx = round(x / C − w / 2), gy = round(y / C) − h, drawn at (gx·C − MP·K, gy·C − MP·K). Only particles, beads and projectiles move freely.

World and ground

The ground is an endless sampler of Aida cloth (base #dccaa5, 8 px hole grid scaled to 0.4 units per px, i.e. one hole per 3.2-unit cell). Noise fields (domain-warped fbm) decide the material per cell:

Characters

All characters are cell grids of single-letter thread codes, rendered with the motif pipeline: blurred warm drop shadow, dark underlay, one cross stitch per cell, #2b1d1d backstitch outline (2.2 sprite px = 0.88 world units), optional inner contours (1.7 px) and free backstitch segments for fine lines. Each has 3 frames, a mirrored left-facing copy (free segments mirrored too) and a white-flash copy (mix(c, white, 0.6), no shadow).

Main character — a 9 × 11-cell grid (28.8 × 35.2 units), facing right: a pumpkin head with a carved glowing face, a red scarf and a navy cloak.

....gG...    leaf stem (g/G) + a curly backstitch stem segment
..qoOOq..
.qoOOOOq.    pumpkin head: ramp q/o/O, lit upper-left
qoOYyOYyq    carved eyes Y/y
qoOOOOOOq
qOyYyYyYq    carved grin
.qOyOyOq.
..RrrrR..    red scarf
.rdDDDdk.    navy cloak d/D, scarf end r, hand k   (frame 0)
..dDDDd..
..BB.BB..    boots

Small creature — a purple root creature with a leafy top, 7 × 8 cells:

Fast creature — a floating ghost, 8 × 8 cells:

Large creature — a root colossus, 15 × 17 cells, built procedurally:

Appear / disappear: 6 partial masks per character (cells sorted bottom-up with random jitter), rendered without outline and with shadow α 0.25. Appearing shows them in order while a silver needle with red thread darts across the current row; disappearing plays them in reverse while fading.

Readability rules: design on the cell grid only (7–9 cells wide for small characters, ~15×17 for large ones; one letter = one stitch); big faces with 1-cell eyes and 1-row mouths in yellow/cream on a darker field; mouths and brows are backstitch segments, not stitches; animate by swapping only the bottom row (legs) or top row (leaves/tail); never fade or scale a motif.

Props

Props are stitched motifs exactly like characters: cell grids of thread codes with the 2.2-px backstitch outline (#2b1d1d, or B #45291c for the house and fence), the blurred warm drop shadow (α 0.42) and one stitch per cell. They are y-sorted together with characters (sort key = foot row) and snapped to the 3.2-unit cell grid.

Effects and particles

Everything is an embroidery material:

Atmosphere and lighting

UI

HUD elements are sewn objects: fabric tags with a satin-stitched border and a dashed running-stitch line, bars filled with cross-stitch tiles, the timer is a wooden embroidery hoop with a metal clasp. Backgrounds use the same Aida generator rendered to data URLs (#efe3c4 light, #ddcba4 darker), and 8×8 px stitch tiles (one stitch on fabric) for bar fills. Icons are 12×12-cell stitched motifs. Tag border colours: red #c0442c/#8c2a1c/#e0704c (health bar panel), purple #6e3a80/#4c2160/#9a62ac (counter panel), green #5c8a3c/#3a6028/#86b45a (info panel); choice cards in orange, purple and green, tilting −1.5° on hover.

.tag { border: 5px solid transparent; border-radius: 12px; padding: 7px 16px 7px 10px;
  background: url(aida.png) padding-box,
    repeating-linear-gradient(-52deg, #c0442c 0 2px, #8c2a1c 2px 3px, #e0704c 3px 4.5px) border-box;
  outline: 2px dashed rgba(124,29,36,.55); outline-offset: -10px;
  box-shadow: 0 4px 0 rgba(50,26,10,.35), 0 6px 14px rgba(20,10,4,.35);
  font-family: 'Mali', 'Grandstander', sans-serif; color: #4a2c1e; }
.bar { width: 216px; height: 18px; border-radius: 3px; background: url(aida-dark.png) 0 0/32px 32px;
  box-shadow: inset 0 0 0 1px rgba(110,70,30,.45), inset 0 2px 3px rgba(60,30,10,.25); }
.bar-fill { height: 100%; background: url(stitch-red.png) 0 1px/8px 8px; }
.hoop { width: 138px; height: 138px; border-radius: 50%; border: 10px solid transparent;
  background: radial-gradient(circle, rgba(255,250,235,.5) 0 40%, rgba(120,80,40,.18) 100%) padding-box,
    url(aida.png) padding-box,
    repeating-radial-gradient(circle, #c98f55 0 2px, #b47842 2px 3.5px, #d9a46a 3.5px 5px) border-box;
  box-shadow: inset 0 0 0 1px #7a4c26, inset 0 5px 10px rgba(70,40,15,.35), 0 0 0 2px #6b4221,
    0 0 0 5px #d39c60, 0 0 0 7px #6b4221, 0 7px 0 rgba(40,20,8,.3), 0 8px 18px rgba(20,10,4,.4); }
.hoop::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 2px dashed rgba(124,29,36,.5); }
.stitched-title { font: 900 70px 'Grandstander', sans-serif; letter-spacing: 2px;
  background: url(stitch-orange.png) 0 0/8px 8px; -webkit-background-clip: text; background-clip: text;
  color: transparent; filter: drop-shadow(0 3px 0 #3a1a0c) drop-shadow(0 0 1px #3a1a0c); }
.overlay { background: radial-gradient(ellipse at 50% 45%, rgba(80,45,20,.3), rgba(28,14,8,.82)); }

Generate aida.png with the fabric generator (4×4 holes of 8 px, base #efe3c4) and stitch-*.png as an 8×8 canvas with a darkened underlay and one makeStitch sprite. Text on fabric: Grandstander 800–900 for values, Mali 600–700 for labels, dark brown #4a2c1e with a 1 px cream highlight below.

Motion and animation

Do and don't

Do

Don't

Implementation recipe

  1. Set up world units: 360 visible vertically; constants C = 3.2, CP = 8, K = 0.4, SM = 2, MP = 5. Smoothing stays on.
  2. Define the thread palette as a map of single letters → hex (table above). Add new threads in ramps of 3–4.
  3. Write the fabric generator (hole grid + weave + slubs) and bake a 16×16-hole tile.
  4. Write makeStitch(rgb, variant) (two strokes × 5 passes) and cache 3 variants per colour; write stitchPattern(code) (seamless 4×4 tile).
  5. Write threadSegs(ctx, segs, rgb, width, gap) — the 4-pass backstitch used for every line.
  6. Write motif(rows, outline, segs) + renderMotif(m, opts) (shadow, underlay, stitches, outline, inner contour, free segments) + mirror(m) + blitCell(ctx, sprite, gx, gy).
  7. Design characters as string grids (main character 9×11, small creature ~7×8, fast creature ~8×8, large creature ~15×17); 3 frames that only change legs/crown/tail; bake right, left, flash and 5 partial appear masks.
  8. Build the ground per chunk: fabric fill → classify cells → bare path → per-colour run paths filled with stitch patterns → satin water → knot/daisy/tuft decals → backstitched borders → cloth folds. Spread it over frames (generator) if the world is infinite.
  9. Props: more string grids or procedural lit-sphere crowns quantised to thread ramps; y-sort them with characters; snap to cells.
  10. Effects: knots, beads, buttons, thread curls, dashed rings, needle, seed — all baked as small sprites at init.
  11. Light: warm additive glow sprites (light pool, faces, collectibles), soft brown ellipse shadows, brown vignette, optional multiply dusk tint.
  12. HUD: fabric tags with satin borders and dashed stitch lines, stitched bar fills, embroidery-hoop timer, Grandstander + Mali, stitched-texture titles.

Code

The core techniques, standalone. The full working kit is starter.js (palette, fabric, stitches, backstitch, motif renderer, main character, creatures, stitched ground, beads, glows, preview scene); the complete reference module is ../../js/styles/crossstitch.js.

Shared helpers used below:

const C = 3.2, CP = 8, K = C / CP, SM = 2, MP = 5, WHITE = [255, 255, 255];
const lerp = (a, b, t) => a + (b - a) * t;
const mul = (c, f) => c.map((v) => Math.min(255, v * f));
const mix = (a, b, t) => a.map((v, i) => v + (b[i] - v) * t);
const rgb = (c, a) => (a === undefined ? `rgb(${c[0] | 0},${c[1] | 0},${c[2] | 0})` : `rgba(${c[0] | 0},${c[1] | 0},${c[2] | 0},${a})`);
function rng(seed) { let a = seed >>> 0; return { next() { a = (a + 0x6d2b79f5) | 0; let t = Math.imul(a ^ (a >>> 15), 1 | a);
  t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t; return ((t ^ (t >>> 14)) >>> 0) / 4294967296; } }; }
function hashInt(x, y, s) { let h = (Math.imul(x, 374761393) + Math.imul(y, 668265263) + Math.imul(s, 1442695041)) | 0;
  h = Math.imul(h ^ (h >>> 13), 1274126177); h ^= h >>> 16; return h >>> 0; }

1. One cross stitch — the atom of the style (bake 3 variants per colour):

function makeStitch(c3, v) {
  const c = document.createElement('canvas'); c.width = c.height = CP + SM * 2;
  const ctx = c.getContext('2d'), r = rng(v * 977 + c3[0] * 3 + c3[1] * 7 + c3[2] * 11), j = () => (r.next() - 0.5) * 0.5;
  const a = SM + 0.85, b = SM + CP - 0.85, base = mul(c3, 0.95 + r.next() * 0.1);
  const line = (x0, y0, x1, y1) => { ctx.beginPath(); ctx.moveTo(x0, y0); ctx.lineTo(x1, y1); ctx.stroke(); };
  ctx.lineCap = 'round';
  [[a + j(), b + j(), b + j(), a + j(), -1], [a + j(), a + j(), b + j(), b + j(), 1]].forEach(([x0, y0, x1, y1, dir], n) => {
    ctx.strokeStyle = n ? 'rgba(40,22,10,0.30)' : 'rgba(40,22,10,0.36)'; ctx.lineWidth = 3.1;
    line(x0 + 0.45, y0 + 0.85, x1 + 0.45, y1 + 0.85);                          // shadow
    ctx.strokeStyle = rgb(mul(base, 0.7)); ctx.lineWidth = 2.9; line(x0, y0, x1, y1); // underside
    const px = dir < 0 ? -0.18 : 0.18;
    ctx.strokeStyle = rgb(base); ctx.lineWidth = 2.0; line(x0 + px, y0 - 0.22, x1 + px, y1 - 0.22); // top ply
    const hx = dir < 0 ? -0.55 : 0.5;
    ctx.strokeStyle = rgb(mix(base, WHITE, 0.5), 0.75); ctx.lineWidth = 0.7;    // sheen
    line(lerp(x0, x1, 0.18) + hx, lerp(y0, y1, 0.18) - 0.6, lerp(x0, x1, 0.78) + hx, lerp(y0, y1, 0.78) - 0.6);
    ctx.strokeStyle = rgb(mul(base, 0.62), 0.45); ctx.lineWidth = 0.55;         // two-ply twist ticks
    const dx = x1 - x0, dy = y1 - y0, L = Math.hypot(dx, dy), ux = dx / L, uy = dy / L;
    for (const t of [0.3, 0.52, 0.74]) {
      const cx = x0 + dx * t, cy = y0 + dy * t;
      line(cx + uy * 0.9 - ux * 0.5, cy - ux * 0.9 - uy * 0.5, cx - uy * 0.9 + ux * 0.5, cy + ux * 0.9 + uy * 0.5);
    }
  });
  return c;
}

2. Backstitch — every outline, stem, border and fence rail:

// segs = flat [x0,y0,x1,y1, ...]; w = thread width; gap = shortening at each hole
function threadSegs(ctx, segs, c3, w, gap) {
  const path = (dx, dy) => {
    ctx.beginPath();
    for (let k = 0; k < segs.length; k += 4) {
      const x0 = segs[k], y0 = segs[k + 1], x1 = segs[k + 2], y1 = segs[k + 3];
      const L = Math.hypot(x1 - x0, y1 - y0) || 1, g = Math.min(gap, L * 0.3), gx = (x1 - x0) / L * g, gy = (y1 - y0) / L * g;
      ctx.moveTo(x0 + gx + dx, y0 + gy + dy); ctx.lineTo(x1 - gx + dx, y1 - gy + dy);
    }
  };
  ctx.lineCap = 'round';
  path(w * 0.28, w * 0.42); ctx.strokeStyle = 'rgba(35,20,10,0.36)'; ctx.lineWidth = w * 1.12; ctx.stroke();
  path(0, 0); ctx.strokeStyle = rgb(mul(c3, 0.72)); ctx.lineWidth = w; ctx.stroke();
  path(-w * 0.06, -w * 0.08); ctx.strokeStyle = rgb(c3); ctx.lineWidth = w * 0.62; ctx.stroke();
  path(-w * 0.16, -w * 0.22); ctx.strokeStyle = rgb(mix(c3, WHITE, 0.45), 0.7); ctx.lineWidth = w * 0.26; ctx.stroke();
}

3. Motif renderer — cell grid → embroidered sprite, drawn snapped to the world grid:

// m = { w, h, cell: [code|null], outline: code }; col(code) -> [r,g,b]; stitchSet(rgb) -> 3 makeStitch variants
function renderMotif(m, col, stitchSet) {
  const c = document.createElement('canvas'); c.width = m.w * CP + MP * 2; c.height = m.h * CP + MP * 2;
  const ctx = c.getContext('2d'), has = (x, y) => x >= 0 && y >= 0 && x < m.w && y < m.h && !!m.cell[y * m.w + x];
  const sh = document.createElement('canvas'); sh.width = c.width; sh.height = c.height;
  const sx = sh.getContext('2d'); sx.fillStyle = '#28160c';
  for (let y = 0; y < m.h; y++) for (let x = 0; x < m.w; x++) if (has(x, y)) sx.fillRect(MP + x * CP, MP + y * CP, CP, CP);
  ctx.save(); ctx.filter = 'blur(1.1px)'; ctx.globalAlpha = 0.42; ctx.drawImage(sh, 1.4, 2.4); ctx.restore();
  for (let y = 0; y < m.h; y++) for (let x = 0; x < m.w; x++) if (has(x, y)) {           // dense underlay
    ctx.fillStyle = rgb(mul(col(m.cell[y * m.w + x]), 0.64)); ctx.fillRect(MP + x * CP + 0.6, MP + y * CP + 0.6, CP - 1.2, CP - 1.2);
  }
  for (let y = 0; y < m.h; y++) for (let x = 0; x < m.w; x++) if (has(x, y))
    ctx.drawImage(stitchSet(col(m.cell[y * m.w + x]))[hashInt(x, y, 77) % 3], MP + x * CP - SM, MP + y * CP - SM);
  const segs = [];
  for (let y = 0; y < m.h; y++) for (let x = 0; x < m.w; x++) {
    if (!has(x, y)) continue;
    const X0 = MP + x * CP, Y0 = MP + y * CP, X1 = X0 + CP, Y1 = Y0 + CP;
    if (!has(x, y - 1)) segs.push(X0, Y0, X1, Y0); if (!has(x, y + 1)) segs.push(X0, Y1, X1, Y1);
    if (!has(x - 1, y)) segs.push(X0, Y0, X0, Y1); if (!has(x + 1, y)) segs.push(X1, Y0, X1, Y1);
  }
  threadSegs(ctx, segs, col(m.outline), 2.2, 0.55);
  return c;
}
// feet at world (x, y): snap to whole cells, then draw at 0.4 units per sprite px
function drawActor(ctx, spr, cellsW, cellsH, x, y) {
  const gx = Math.round(x / C - cellsW / 2), gy = Math.round(y / C) - cellsH;
  ctx.drawImage(spr, gx * C - MP * K, gy * C - MP * K, spr.width * K, spr.height * K);
}

4. Big stitched areas in a few fills — merge cells into row runs per colour, fill with a seamless stitch pattern:

// stitchPattern(code): 32x32 canvas, 4x4 stitches drawn with 9 wrap offsets so it tiles
function fillStitchRuns(ctx, cellsX, cellsY, keyAt, stitchPattern) {
  const paths = new Map();
  for (let j = 0; j < cellsY; j++) {
    let run = null, r0 = 0;
    for (let i = 0; i <= cellsX; i++) {
      const k = i < cellsX ? keyAt(i, j) : null;        // thread code or null (bare cloth)
      if (k === run) continue;
      if (run) { if (!paths.has(run)) paths.set(run, new Path2D()); paths.get(run).rect(r0 * C, j * C, (i - r0) * C, C); }
      run = k; r0 = i;
    }
  }
  for (const [k, p] of paths) {
    const pat = ctx.createPattern(stitchPattern(k), 'repeat');
    pat.setTransform(new DOMMatrix([K, 0, 0, K, 0, 0]));  // pattern px -> world units, aligned to the cell grid
    ctx.fillStyle = pat; ctx.fill(p);
  }
}
// meadow density: sparse, clustered by Bayer + hash
// stitched = bayer8(i, j) * 0.55 + hash2(i, j) * 0.45 < 0.03 + 0.24 * smoothstep(0.36, 0.78, fbm(x / 190, y / 190))

Adapting it to your project

Performance notes

Copy-paste prompt

Use the Cross-Stitch Sampler art style for my project (miwale Game Style Library):
- The whole world is beige Aida cloth (#dccaa5) with a visible hole grid; Canvas 2D, procedural, no image assets.
- Everything drawn is embroidery on a fixed stitch grid: 1 cell = 3.2 world units (360 units = screen height), baked at 8 px per cell.
- Every cell is a real cross stitch: two diagonal thread strokes, each = warm shadow, dark underside (x0.7), top ply, white sheen line, twist ticks; 3 jittered variants per colour.
- Sprites are string grids of single-letter thread codes (main character 9x11 cells, small creature ~7x8, large creature ~15x17), outlined with a dark #2b1d1d backstitch (4-pass thread line that stops short of each hole), with a blurred warm-brown drop shadow.
- Use a DMC-like palette in ramps of 3-4 threads; never invent in-between colours; shadows are always rgba(40,22,10,a).
- Characters snap to whole cells; 3 animation frames that only change legs/crown/tail; appear = stitched in row by row with a needle, disappear = unravel into loose curly threads + beads.
- Props (round lit-sphere trees, tiered pines, bare backstitch trees, pumpkins, gravestones, fences with backstitch rails) are stitched motifs too, y-sorted with characters.
- Ground: bare linen paths with brown backstitch borders, sparse dithered green meadow stitches, dense rust forest, satin-stitch ponds, French-knot flowers, grass tufts; every region border is backstitched. Leave lots of bare fabric.
- Effects use embroidery materials only: French knots, glass beads (small collectibles), sewing buttons (large collectibles), sequins, running-stitch trails, dashed thread rings.
- Light from the upper left; warm additive candle glows; soft cloth folds; brown radial vignette.
- UI: fabric tags with satin-stitch borders and dashed running-stitch lines, cross-stitch-tile bar fills, an embroidery-hoop timer; fonts Grandstander (numbers/titles) and Mali (text).
- Bake stitches, motifs and ground chunks once; fill large stitched areas with seamless stitch patterns.