Skip to content
Back to skills

Replicate

ASecurity

How to replicate a reference video 1:1 (or study a style from one) with the drawn-by-code engine, measuring instead of guessing, element by element, until the difference only shows when zooming in. Use it whenever the user gives a video to copy, recreate, match or "make it like this", when working on sandbox/2026-09-24-what-do-you-love, or when a piece has to reach the detail level of a finished film. Covers the workflow, the measuring tools in engine/reference.mjs, per-drawing choreography, ...

  • 72 stars
  • 0 votes
  • 8 copies
  • 41 views
  • Added September 25, 2026
ai-agentsgonodeexpressawsgitperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add illodev/drawn-by-code --skill replicate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Replicate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Replicate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/illodev-replicate/badge)](https://www.skillsdirectory.com/skills/illodev-replicate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: replicate
description: How to replicate a reference video 1:1 (or study a style from one) with the drawn-by-code engine, measuring instead of guessing, element by element, until the difference only shows when zooming in. Use it whenever the user gives a video to copy, recreate, match or "make it like this", when working on sandbox/2026-09-24-what-do-you-love, or when a piece has to reach the detail level of a finished film. Covers the workflow, the measuring tools in engine/reference.mjs, per-drawing choreography, recipes, pitfalls with their fixes, and splitting the work across parallel agents.
---

# Replicate a reference video

**Credit the original.** A replica is a study of someone else's work: name the author and
link the original in the experiment's `brief.md`, in `sandbox/INDEX.md` and wherever the
replica is shown (the README's gallery). Keep the reference video and its soundtrack out of
git (`out/`), and commit the replica's render without the original's audio (`-an`).

Worked example: `sandbox/2026-09-24-what-do-you-love/`, a replica of [a video by Kevin Ngo](https://x.com/kevin_t_ngo/status/2102437977435893771)
([@kevin_t_ngo](https://x.com/kevin_t_ngo)) (a 28 s paper-cutout film, 2160²,
24 fps, animated on twos). Its whole-video difference went 29 → 22.6 (animatic) → 14.2
(detail pass), and the user's verdict was «I have to zoom in to see differences». Its
`review.md` tells the story round by round; `segments/README.md` explains how it is built.

**Transcribing is copying.** A tool that reads an artist's pixels (or vectors, or frames) off
the reference and replays them is a copy of their art, not a drawing by code: keep that
data in the experiment's `private/` (gitignored), never commit or publish it, and say so in
the brief. What goes in the repo is the kit, the tools and the lessons (pixel-building).

Rights: a replica of someone else's film is an **internal study**. The reference video and
its audio stay in the experiment's `out/` (gitignored), never in the repo, and the result
is never published as ours.

## The detail gate (mandatory)

`node engine/detail.mjs <scene.js> <reference.mp4> --every 1` splits every instant into
6×6 zones and compares colour (after a blur) and texture (high-frequency energy: grain,
dots, noise, fine lines) with the reference. It passes only at the level of the replica the
user approved: colour median ≤ 8, p90 ≤ 27 (colour compared at a 12 px blur, over a halftone pitch, so dot phase is not a colour error), ≤ 6 % of zones too clean, ≤ 12 % too busy.
Nothing is shown to the user before it passes; agents working on elements run it on their
own instants (`--times`) and do not report «done» with a failing gate or a list of things
still off. «Too clean» almost always means a missing texture layer (print noise, paper,
fine hatching), not a missing object.

## The four principles

1. **Detail is the job.** Timing and palette give you an animatic. The user judges the craft
   of every element at a glance: a dog made of five ellipses, round hands, a ring drawn as
   one stroke or polygonal shapes read as low effort next to a reference built piece by
   piece. Hold every element to the style's detail bar (paper-cutout: «Detail» in
   **style-paper-cutout**).
2. **Measure, never eyeball.** Positions, sizes, colours, timing, speed: every number in the
   scene comes from a probe on the reference (below). Eyeballed values were wrong by
   15–50 % every single time (the flower 17 % small, the girl 47 units too high, the
   writing too slow, the '?' off the page).
3. **Work per drawing.** Hand animation changes drawing every 2 frames (1/12 s) and holds.
   Author motion as tables with **one row per drawing** (`d = Math.floor((t - t0) * 12 +
   1e-6)`), not as smooth curves; ease curves look wrong next to a film animated on twos.
4. **One element per file, compared at full resolution.** Every object is its own file with
   a small drawer contract; each is crop-compared against the reference until the same
   pieces, shapes, colours, textures and layering show side by side.

## Workflow

0. **Set up.** Reference in `<exp>/out/reference.mp4`; its audio extracted to
   `out/reference-audio.wav` and used as `audio: { mix: 'out/reference-audio.wav' }` so the
   renders are judged with the real timing. Logical space = the frame (`logical: [1000,
   1000]` for a square video: 1 unit = 2.16 px at 2160, and fractions × 1000 = units).
1. **Shot list.** `reference.mjs sheets --every 0.25` to read the film, `reference.mjs cuts`
   for the exact cut frames (cuts land on frames). Declare every cut, even 0.25 s cards, as
   a shot in `shots` (review.mjs then stops reporting them as jumps).
2. **Palette.** `reference.mjs colors <video> <s> name=x,y …` for every colour, never
   guessed.
3. **Animatic** of the whole film first (structure, timing, rough shapes), compared with
   `compare --every 0.5`. Then the detail pass, element by element (most of the time goes
   here: in the example the detail pass took several times longer than the animatic).
4. **Measure each element.** Full-resolution crops with a grid
   (`ffmpeg -ss T -i ref.mp4 -frames:v 1 -vf "crop=W:H:X:Y,scale=…,drawgrid=w=50:h=50:t=1:c=black@0.25"`),
   a strip of one shot's drawings (`-vf "select='not(mod(n\,2))',scale=400:400,tile=6x1"`),
   `box` for where a colour sits, `runs` for edges and bands, `track`/`face` for motion.
5. **Build** the element in its own file, authored in measured coordinates (reference
   pixels or logical units around an anchor), so that it lands 1:1 with scale 1.
6. **Calibrate against your own render.** Render the stretch small
   (`render.mjs --from a --to b --size 500 --out x.mp4`) and run *the same probe* on it.
   Compare the two tables and correct factors (our flower's horizontal reach turned out to
   be 0.92 R, not 1.07 R as assumed).
7. **Crop-compare** (`compare --times … --crop x,y,w,h`, fractions) until the side by side
   matches; then the whole video (`compare --every 1`) for the number. The number helps;
   your eyes decide. Look at every image you produce.
8. **Log the round** in `review.md` (what the user said, in English, what was measured, what
   changed, the new number) and move the lessons into the skills.

## Measuring tools (`engine/reference.mjs`)

| Command | What it answers |
|---|---|
| `sheets <video> --every 0.25` | the film at a glance, labelled with seconds and frames |
| `cuts <video>` | exact cut frames |
| `colors <video> <s> name=x,y …` | the palette (5×5 px mean at fractions of the frame) |
| `box <video\|png> <s> --color #hex --region x0,y0,x1,y1` | where a colour sits (2–98 % box, logical units): hair, ink of a text, a prop. Run it on your still too |
| `runs <video\|png> <s> --row 0.6` (or `--col`) | colour runs along a line: paper edges, margins, sky bands, ruled lines |
| `track <video> --color #hex --from --to [--crop]` | per frame: centre, box, area of a colour. The motion of a character (bounce, squash, reach) |
| `face <video> --body #hex --from --to` | per drawing: centroid of the dark marks inside the body colour = where the face is, even when the limbs change |
| `compare <scene> <video> --times … [--crop] [--every]` | side by side with a difference number per pair |

Throwaway probes are fine for one-off questions (a text's ink box, a column scan); when one
proves useful twice, add it here.

## Recipes that worked

- **A character's performance per drawing** (the flower in the montage): a table
  `[face x, face y, reach, vertical stretch, expression, face tilt]` per drawing from
  `track` + `face`, and a bounce pattern (big entry, squash, recover, stretch up, settle).
  Squash & stretch the *limbs/rays* only; the face never deforms. Expressions change with
  the drawing (open 'o' on the entry, squint on the squash, open laugh on the stretch).
- **Entry accents:** radial dashes only on a card's first drawing (colour, centre, radii and
  count measured per card); a 7–8 % bigger object on the first drawing only where the
  reference has it (measure; not every card pops).
- **Card words:** the word writes itself as a fast wipe (≈1.5 letters on the first drawing,
  whole by 0.16 s), width/tilt/baseline measured per card.
- **Objects the character sits inside** (letters flying out of a book, a boat, a cup): a
  back and a front layer with the character between them (`order: 'split'`).
- **Writing on paper:** the pen follows the text metrics (`penAt`: width of the written
  prefix + a fraction of the next letter), at the measured letters per second (keys per
  drawing), the forearm leaning from an off-screen elbow.
- **Paper actions** drawing by drawing: tearing along the perforation (square tabs, scraps
  flying up, the lifted page's shadow clipped to the pad, the next blank page under the
  rings), folding a plane (a table of five paper shapes with flaps and creases, mittens at
  the corners), turning a note over in perspective (`noteFlip` on `Motion.quad`; the
  front turns without the answer written on the back).
- **Lettering to match hand-lettering:** pick the closest free font, then measure: width of
  each line, x-height (squash with `sy`), line ratio (per-line letter spacing), stroke
  (felt-tip = a thinned core inside a lighter rim).
- **Miniatures** (the heart gathering every object): redrawn chunkier with fewer pieces, not
  just scaled; pop-in order measured per drawing.
- **The same character in several framings** (girl in the interior, small in the window,
  bigger when she leans in): one puppet with a scale and layers (`layer: 'body' | 'arms'`)
  so a desk can go between torso and forearms.

## Pitfalls met, and their fixes

| Symptom | Cause | Fix |
|---|---|---|
| The '?' ran off the page | the font's second line is relatively wider (1.27× vs 1.21×) | per-line letter spacing keeping the reference's line ratio (`WL.lineSpacings`) |
| Bold, flat text next to a felt-tip reference | `strokeText` over `fillText` only thickens | erode the glyph with a `destination-out` stroke on an offscreen canvas, inside a lighter rim; cache per scale (`getTransform()`) |
| Shaded pieces painted as brown blobs | `shade()` returned `hsla()`, `Paper.marker` parses hex | colour helpers return hex |
| The character sat 47 units too high in every interior | anchor guessed | `box` of the hair on the reference and on our still; move the anchor |
| The flower 17 % too small | reach vs radius assumed | calibrate by tracking our own render |
| Drawings one frame late | `ffmpeg -ss` rounding lands on the next frame | seek at `frame/24 − 0.004` |
| Cuts one frame off, or a sweep of cut times all one frame early | times read off `compare`/`-ss` sheets | cut times from a frame-index scan (`select=between(n,a,b)` or all frames piped raw, diff > 25 between neighbours): the index is the truth |
| Rings and flecks «almost» right but the gate says too clean | vector strokes, softened by the print's spread, thinner than the painted ones | measure widths on a pixel profile; paint annuli with varying width; lower `spread` for line-only shots |
| `track` catches other things | the colour is shared | tighter `--tol`, `--crop`, or a colour unique to the character |
| Rays looked like blobs when short | width kept constant | short rays slimmer too |
| A caught plane drawn over or under the whole flower | one layer | rays in an arc drawn over the plane, the face over everything |
| Waves / tentacles / steam «boiled» | outline re-torn every frame | 2–4 cached replacement drawings swapped on twos |
| A hole looked like a grey ring | a ring polygon filled | `PaperDetail.punch` (torn rim + `destination-out`) |
| Cup, band, tag bulged | `spline` overshoots between long and short segments | `cspline` (centripetal) or a torn polygon for straight paper |
| Blurry sprite | cached at low resolution | sprite `res` ≥ 1.1 × the largest scale it is drawn at |
| Knit screamed at small size | texture alpha tuned at full size | knit alpha 0.1–0.2 on small pieces |
| `review.mjs` flags flashes at 15–16 s | the reference's own 0.25 s colour cards | documented in review.md; a real piece would soften them |
| Subagent worktrees ended up in a commit | `git add -A` with `.claude/worktrees/` present | `.claude/worktrees/` in `.gitignore` |

## Splitting the work across agents

A replica has dozens of elements; parallel agents (Agent tool with `isolation: "worktree"`)
did four groups of montage objects and the exterior shots while the lead did the
choreography.

- **Contract first:** one file per element with a tiny drawer contract
  (`Things.x(g, x, y, s, t, part?)`), shared helpers in a kit file. Agents edit only their
  own files and their rows in the shared tables; the lead owns choreography, the character
  and common kits.
- **Brief:** copy `agent-brief.md` from this folder and fill it in: the user's words (why
  detail matters), setup (`ln -s <repo>/node_modules node_modules` in the worktree), the
  files and the contract, coordinates, tools, rules (deterministic, cut once, look at every
  image, commit but don't push) and the report format (values for the shared tables,
  remaining differences, helper candidates, one-line lessons).
- **Merge by file:** `git checkout <agent-branch> -- <their files>`, then copy their table
  values by hand and verify with `compare`. Never merge a shared file wholesale: their
  version is stale.
- **Harvest the reports:** agents found real lessons (layering by whose white border is on
  top, replacement drawings, two-strip rings, miniatures redrawn chunkier). Move them into
  the skills and promote their good helpers into the style kit (that is how `cspline`,
  `taper`, `curl`, `markerPath`, `punch`, `wordBars`, `sheetMusic` and `mapPaper` reached
  `PaperDetail`).

## Lessons

<!-- date · experiment · one line -->
- 2026-09-24 · what-do-you-love · Whole-frame comparisons hid the lack of craft; the user saw it at once. Crop every element at full resolution.
- 2026-09-24 · what-do-you-love · Pin a moving prop (a paper plane) by three measured points per drawing (an affine map): perspective and banking come for free, where position + angle + scale never matched.
- 2026-09-24 · what-do-you-love · Key a pose at a few drawings but correct the position every drawing with the tracked centre; straight lines between keys lose the arc.
- 2026-09-24 · what-do-you-love · Measure secondary motion before animating it: the head sway assumed for the girl in the window was a perfectly still head in the reference.
- 2026-09-24 · what-do-you-love · A growing dashed trail must anchor its dash pattern to the path's start, or the dashes crawl.
- 2026-09-24 · what-do-you-love · Check the drawing phase once (which frames start a drawing) with frame-to-frame differences decoded without seeking.
- 2026-09-24 · what-do-you-love · After the measured detail pass the user needed to zoom in to see differences; the one thing seen at a glance (the '?' off the page) came from a font metric nobody had measured. Measure text too.
- 2026-09-25 · opus5-riso · The detail gate, round 3 (six card agents, ~10 M tokens, median 18 → see review.md): the order that moved the numbers was (1) the press itself (inks re-measured on flat solids and divided by the paper, solids at full coverage, paper fibres instead of confetti), (2) timing by frame index (cuts, 2-frame repeats, per-frame camera pushes and ring radii), (3) elements from a side-by-side audit, then (4) regional tone: once elements are in, the ink each 45–90 px block gets decides the gate; fit it per block and calibrate against our own render (fit ours, move by the difference, 3–4 passes), adding tone as halftone dots, never as a flat fill.
- 2026-09-25 · opus5-riso · Separate colour from placement before working on a card: remove a smooth colour offset (at ~44 px) and re-score. What remains is placement; what disappears is tone.
- 2026-09-25 · opus5-riso · Grids, contours and blob lists read off the reference are transcription: they live in `private/<card>-data.js` (gitignored, loaded optional) from the first commit, with a described fallback in the committed card. Moving them later leaves them in the git history.
- 2026-09-26 · felt-cats · Replicating a dance: silhouette IoU is the wrong target. Three agents keyed the cats to 0.70–0.75 IoU and the user saw «it looks nothing like it»: a rig without knees can fill a silhouette standing stiff. Measure motion (head bob, weight shift, crouch, paws, steps) with keypoints and fit a rig that can make it (IK legs with knees, paw targets), then check the side by side in motion, not stills.
- 2026-09-26 · felt-cats · A pose model (ViTPose+ AP-10K via transformers, CPU) finds eyes and front paws on upright kittens seen from the front, not hips, knees or backs. Fit the rig per drawing to the keyed mask drawn as 2D capsules (fast in node) plus those keypoints, with limits read off the frames (a seen face looks at the camera, depth and lean near a prior); let hand keys cover what the model can't see, crossfaded in and out.
- 2026-09-26 · felt-cats · A silhouette fit without limits turns figures round, tips heads back and lays bodies down where figures overlap: IoU can't tell front from back.
- 2026-11-14 · pier-pressure · A flat-colour character sheet is replicated by measuring it into vector data, not by redrawing it (`sandbox/2026-11-14-pier-pressure/tools/trace.py`, drawn by `cast/ref.js`): classify each pixel as a flat colour mixed with ink and call it line when the ink share passes a half (thin lines are never pure black: nearest-colour turns them into slivers of the dark fills and they vanish); tell dark fills from lines by thickness; open away anti-aliasing slivers and refill from the nearest colour; run every fill under the ink; trace sub-pixel contours of smoothed masks. Check with a pixel difference at the sheet's own size, then crops at 2×.
- 2026-11-14 · pier-pressure round 10 · «Is it an image or a drawing? Couldn't we turn it into code?»: a replica as traced polygons, ink included, is a copy the user cannot tell from a pasted image. Write the drawing as code (`tools/tocode.py` → `cast/<who>-drawn.js`, run by `cast/drawn.js`): fills as shapes of control points with corners flagged, lines as strokes along the ink's skeleton with their measured width, solid blacks as shapes, everything assigned to a body part by generous regions tested in order. Paint all fills, then all strokes, each inside its part's transform; check every part by turning it (a stroke left on the neighbour shows as a ghost outline).
- 2026-11-14 · pier-pressure round 11 · «The plaster and some details have ended up monochrome»: when measuring line art, three things read as anti-aliasing and vanish unless handled: details in a darker tone of their own colour (find them as ridges of the ink share and as patches holding a little ink clear of every line; give strokes their own colour), thin stripes of a dark colour that is not black, and colours sitting just under a dark/light threshold. And white is two things: cloth and page seen through the figure (list the holes per character after marking every enclosed pure-white region and looking). Cluster the palette per sheet from flat areas only, from the lossless original, and ask for sheets big enough that the smallest detail is three pixels wide.
- 2026-11-14 · pier-pressure round 11 · Rules the sheet-measuring ended on (`tools/measure.py`), each from a visible fault: (1) a pixel matching one of the sheet's colours inside an area thicker than a line is that colour, directly, before any mixing model; (2) the palette is clustered from flat areas, plus colours with a hue that neither a found colour nor a mix of two explains (a three-pixel frame is never flat); (3) near-ink colours never explain a mix, and a dark colour only beside its own fill, or the heart of every line passes for dark grey; (4) a thin stripe of a palette colour is a fill, not a faint line; (5) what is one pixel wide is authored by hand on top (`Drawn.add`), from a 14× zoom with a grid. After every change, render every character and look: a rule that fixed one sheet broke another three times.
- 2026-11-14 · pier-pressure round 20 · «The cut-outs are not right; they lose details and colours»: drawings measured from sheets had only been looked at whole, where they read as right; in crops of the film the fingers had no creases, the plaster was gone and the wheels were discs. A measured drawing is checked against its source the way a replica is against its film, before it is animated: draw every pose from its code at the sheet's own place and size and compare at 4× (`sandbox/2026-11-14-pier-pressure/dev/fidelity/scene.js`, `tools/fidelity.py`; `--worst N` finds the places that differ most by itself, so the check does not depend on knowing where to look), and once more on a coloured ground, where page left white shows. Look at the measuring itself (`tools/look.py`: lines and paint found in a piece of the sheet) before blaming the drawing step.
- 2026-11-14 · pier-pressure round 20 · What measuring flat-colour line art ended on, replacing the round 11 rules (`tools/measure.py`): (1) a line is what is dark and thin (black-tophat of the luminance), whatever its colour, plus whatever is as black as the ink however thick; (2) dark thin paint (a stripe, a star, a frame, the shoe between two laces) is told from line by width (over two pixels somewhere) or by being a dot clear of the ink; (3) cluster each region between lines on its own pixels, never by nearest palette colour, and compare tones by lightness and hue apart (plain RGB distance puts charcoal with navy and olive with brown, nearer than two blotches of one orange); (4) read a paint only where the colour is not changing (a small gradient of the image, away from the lines): where two paints meet with no line between them, and beside every line, the sheet passes through tones that are nobody's paint, and rules about their size or colour (thin, small, a mix of the neighbours) never caught them all, while the slope does at once and still reads the heart of a thin stripe; blotches inside a flat area are then small patches beside their own hue, and join it; (5) the page is the white that reaches the border through white; (6) a stroke keeps its sampled colour unless near black, a ring is a line, a crossing is not a blot. Every rule came from one visible fault and was checked on all six sheets: three of them broke another character first.
- 2026-11-15 · pier-pressure round 32 · «It is not cut properly, again»: the gap between an arm and the body came out as white cloth, because the page was only let in through ways wider than a line and a half, and the way out of that gap (between a hand and the shorts) was two pixels. Let the page in by any way wider than a pixel, and check every drawing ON A COLOURED GROUND, cropped where page hides: beside arms, between legs, inside straps and handles. A comparison with the sheet on white cannot see this fault at all: there, page and white are the same paint.
- 2026-11-15 · pier-pressure round 33 · «What if you ask for the images with a different background colour?»: art that will be cut out must not be made on a ground of a colour the art uses. On white, every white region has to be judged page or paint (rules for the outside, a hand-made list for the closed gaps, and a list forgotten on one sheet cost two rounds). Ask for generated sheets on a flat pure green (or any colour the character lacks), pass it as the pose's `bg`, and the page is simply that colour. And when the user sends a crop of a fault, the fix is checked on THAT crop, same frame, same place, before saying it is fixed.
- 2026-11-15 · pier-pressure round 35 · Sheets on a green ground need no boxes, masks or hole lists: figures are what is not green (largest pieces left to right, loose bits to the nearest), the page is the green, anchors and scale are measured per pose and stored in the drawing (`sandbox/2026-11-14-pier-pressure/tools/green.py`). To put an existing white sheet on green, an «edit» of it redraws it (same poses, other lines) and may be blocked by the generator's filter; a blocked one goes through as a new generation with the sheet as reference. Name generated drawing files after their sheet, never after an older file that is about to be deleted. When pieces of a cut drawing share a paint (a fist against a face), the piece in front is painted last or its outline is lost.
- 2026-11-15 · pier-pressure round 38 · A generator does not keep the ground flat in narrow gaps (inside a strap, behind a collar, between two legs): it comes out darkened or smeared, a blob that is neither the ground's colour nor any paint, and the cut keeps it as a bright fleck. Before measuring, put the ground back: pixels of the ground's hue that are not its colour are ground when they form a blob (they survive a 3 × 3 erosion, or a fleck ≥ 12 px that fills its box); a band one or two pixels wide is a line's soft edge and stays (`tools/green.py` `clean()`). A stray mark of the generator's own (a streak, a speck of another colour) is listed by its box and its colour, nothing else by hand. Check new drawings on a third colour at twice the film's size and **count** the ground's hue on a figure that has none of it: the eye at sheet size passes what a crop does not.
- 2026-11-16 · pier-pressure round 39 · «The colour details need to be improved»: reading flat paints from a soft sheet, never tell a blend from a paint by its SHAPE (thin, small, between two paints, «a mix of its neighbour and the ink»): everything small and thin by right goes with the blends (a glasses' frame, the white disc round a star, a sock's stripes, an eyelet). Read each pixel by what EXPLAINS its colour: seeds where the colour is still; elsewhere a paint seeded nearby, or the mix of two paints that BOTH have seeds nearby, on whichever side of halfway it falls; a still pixel that nothing nearby explains is a paint with no flat pixel (a ridge is never a blend) and becomes a seed with the tone it reaches, mapped afterwards to the paint it is (`sandbox/2026-11-14-pier-pressure/tools/measure.py`). And keep a number for the whole cast (`tools/score.sh`: the share of each sheet off by more than 34 levels) before touching a reading rule: the three crops a user sends are examples, the fault is in every drawing. A better reading makes more and smaller pieces, and every piece the vector stage drops or cannot hold (too small, too thin, a second contour of a component that smoothing split) is a hole the background shows through: count those too (`tools/gaps.py`: ground showing well inside a figure) and make them zero by giving each to its neighbour, never by dropping.
- 2026-11-16 · pier-pressure round 40 · «The bird takes part of the metal with it», «the cut of the trousers is not right», «some are and others are not»: a drawing split into parts by giving each whole shape and line to the part its centre falls in is not split. Build a map of the part of every pixel (a polygon, and where two things interlock, only certain paints inside it), cut the paints along it and cut each line where it passes from one part to another; a part defined by its paint takes the lines along that paint (its outline). Borders follow the thing (a hem is never a level line). What the sheet never drew (the bollard under a bird's feet) is closed with the neighbour's paint and one line, and that is the only thing added. Check every cut pose apart on a third colour: whole, then each part alone (`dev/parts/scene.js`).
- 2026-11-17 · pier-pressure round 59 · «She has 2 pupils», «Milo's pupils stay in his glasses»: a faithful copy of a generated sheet copies the generator's drawing mistakes, and every check that compares the copy with the sheet passes them (58 rounds did). Before a generated sheet is read into code, look at IT for what a person would not draw: count the pupils in every eye (`tools/eyes.py` in pier-pressure does it on the sheet: roundish white regions closed in by lines, blobs of black inside them thicker than a line), the fingers on every hand, and whether an object asked to fly loose took a body part with it (glasses «flying off his nose» came with a pair of eyes in them). Mend the sheet, not the code (`MEND` in `tools/green.py`: shapes in sheet pixels painted before reading), so every later conversion keeps the fix. And measure any new reading rule on the whole cast before keeping it: one that cleaned a mottled plaster cost a quarter of every sheet's fidelity and was taken out.

Files in this skill

  • SKILL.md15.9 KB
  • agent-brief.md3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.