# frame-legendary — result ## Delivered - `layers/frames/legendary.png`: 2048×2560 straight RGBA8 PNG, written with the repo's own `src/raster/png.cjs` encoder (no ancillary chunks). sha256 `9fafea957df3b46281841af68601d63f2eb94ca81df84cd5ff787bd48047eb2e`. - `catalog/frame-legendary.json`: `{"schema":"kekborn-assets@1","assets":[{"id":"frame.legendary","slot":"frame","name":"legendary","path":"layers/frames/legendary.png","tier":"legendary"}]}` No other repository file was changed. The painter script and checks lived in `test/scratch/` (not submitted). ## What was painted I used a deterministic Node painter (seeded PRNG, so re-running it gives byte-identical output). It builds a height field for an ornate carved gold moulding, overlays about 16k stamped, oriented oil strokes with bristle striation (the strokes also go into the height, as impasto), and shades with one key light from the upper left. Cast shadows fall down-right. The metal ramp runs umber → ochre `#B48A47` → gold leaf `#C9A45A` → warm-bone highlights. There is no pure black or white: the opaque channel range is 11–236. - **Moulding profile** (outside → aperture): rounded outer lip, cove, a ribbon-twisted torus, a wide frieze with a running acanthus/C-scroll relief, an ogee, a pearl-bead row, and a dark sight edge. The corners are mitred, with a mitre groove, like `common.png`. - **Deep corner cartouches** at all four corners have a scalloped scroll rim, a deep well, a beaded gold bezel and a cabochon gem: ruby at top-left and bottom-right, emerald at top-right, sapphire at bottom-left. There are smaller rosette cabochons at the mid-rails and quarter points, and on the bottom rail at x≈420 (emerald) and x≈1630 (sapphire). Each cabochon has a dark rim, a lighter body glow at lower right and one hard facet highlight at upper left. - **Plaque** (640,2420)–(940,2508): a raised, polished, slightly paler gold plate with a bevel. It is engraved with a heavy outer rule with chamfered corners (≈4.5 px), a fine inner rule, corner fleurons, a central lozenge and mirrored S-scrolls ending in curls, with leaf sprigs. The engraving is darkened umber and incised in the height map, so it catches the upper-left light. The plaque ends at x=940, 22 px left of the shield margin. The frieze ornament fades out around both the plaque and the shield. - **Shield seat**: the whole of (962,2392)–(1086,2536) is a flat, calm, opaque recessed mid-gold panel. It has low-amplitude broad strokes and no ornament, gem or beading. A plain bevelled collar sits just outside the box. - I did not paint any varnish, craquelure or frame shadow. Those are left to the compositor's finish pass. ## Checks run (`node test/scratch/check.cjs`, `inspect.cjs`, `crop.cjs`) - **Alpha vs common rail:** the alpha channel is copied from `layers/frames/common.png`, giving **0 mismatching alpha bytes** out of 5,242,880. The non-opaque bbox is (144,144)–(1903,2367), the same aperture. Transparent pixels have RGB 0, and everything outside the aperture is alpha 255 (1,328,640 px). - **Shield seat (962,2392)–(1086,2536):** 17856/17856 px are opaque. The luminance SD is **4.4**, against 35.3 for the same-size frieze area just to its right and 40.2 for the top rail, so it is calm material. - **Plaque:** fully opaque, with luminance SD 39.7. The engraved lines are clearly darker than the polished field. - **Determinism:** re-running the painter produced a byte-identical PNG (`cmp` OK). - **Compositing:** I composited `skins/moss.png` + `legendary.png` with `src/raster` `composite` and then `finish` without errors. Viewed at full size, the brushwork reads as painted rather than flat. It is coarser than the fine wood grain of `common.png` but has the same horizontal and vertical stroke direction along the rails. - **Reduced views:** at ¼ size (512×640), the gems read as distinct red, green and blue cabochons, the cartouches read as star-shaped bosses, the plaque reads as an engraved panel with a visible scroll and lozenge, and the shield seat reads as a quiet flat panel. At ⅛ size (256×320, contact-sheet scale), the frame reads as a rich, deep gold moulding with coloured jewel points. The plaque reduces to a darker framed rectangle and its engraving detail is lost. The shield seat is still a distinct plain recess. ## Remaining defects / notes - The frieze acanthus is procedural and fairly abstract. Up close it reads as carved scroll relief more than as clearly drawn leaves. - The stroke texture is somewhat more pronounced than in `common.png`. The varnish and craquelure in the finish pass soften it. - The plaque is engraved with decoration only, with no text. If the compositor is meant to write a name onto it, the inner field (≈680–900 × 2445–2483) is where to put it, but the central scroll motif sits there now.