# frame-rare — result ## Delivered | File | Bytes | sha256 | |---|---|---| | `layers/frames/rare.png` | 1,375,128 | `aec702516552c7f4b656fd46182ed2db17d4a13b8f9c65c9c792dc6a7730886b` | | `catalog/frame-rare.json` | 122 | `8afbd6db151464d725a1445d4128b7d3a57b96a5841931eb5d2ffc19b879ed33` | No other repository file was changed (`git status` shows only `catalog/` and `layers/frames/rare.png` as new). Nothing was deployed, minted or spent. ### `layers/frames/rare.png` The Rare tier frame: a silver moulding on the 2048×2560 master grid, straight RGBA8, non-interlaced, chunks `IHDR, IDAT, IEND` only, written with the repository's own `encodePNG` (`src/raster/png.cjs`). Section, from the outside edge to the opening: - outer half-round rib, quirk, flat fillet - broad cushion that carries the long reflections - quirk, small astragal, cove - **beaded inner lip**: a dark channel 24 px wide holding round beads about 18 px across at a 21 px pitch, 86 along top and bottom and 108 along each side, with one shared bead on each corner - a 3 px sight fillet at the opening, kept dark Material: silver `#A7A9A4` and silver shadow `#5E625F` are the two middle values. Darks are mixed toward umber and night umber, lights toward warm bone. The darkest channel value is 19 and the lightest 240, so there is no pure black or white. Light is the upper-left key: the top rail and left rail catch the highlight on their outer flank, the right and bottom rails on their inner flank, and the whole frame falls off toward the lower right (top-left 144 px corner block mean G 113, bottom-right 85). Highlights are broken into dabs with gaps along the rail, and long dark reflections sit in the cushion. Strokes run along each rail and turn at the mitres. Shield seat: a flat raised tablet on the bottom rail, face x 954–1094, y 2392–2542, with a lit bevel on its left, a dark bevel on its right and below. The moulding stops against it. The compositor's shield goes on the face. Varnish, craquelure and frame shadow are not in the layer. ### `catalog/frame-rare.json` ```json {"schema":"kekborn-assets@1","assets":[{"id":"frame.rare","slot":"frame","path":"layers/frames/rare.png","tier":"rare"}]} ``` One record: id `frame.rare`, slot `frame`, root-relative path, selector `tier: "rare"`. ## How it was made The checkout has no image library (no Pillow, numpy or ImageMagick), so the frame was painted by a deterministic Node script built on `src/raster`. It kept the alpha channel of `layers/frames/common.png` and painted RGB only where that alpha is 255. The script lived in `test/scratch/`, which is not submitted, and my paths do not allow adding it elsewhere. It uses hash noise only (no clock, no `Math.random`): two runs gave the same sha256. ## Checks All run locally with Node scripts over the decoded pixels. **Opening and alpha against the common rail** - Alpha mismatches against `common.png`: **0** of 5,242,880 pixels. - Opaque 1,328,640, transparent 3,914,240, partial 0. Same counts as `common.png`. - Every pixel inside (144,144)–(1904,2368) is alpha 0 and every pixel outside is alpha 255. - Transparent pixels carrying RGB: 0. **Corners** (viewed at full size, 512 px crops of the top-left, bottom-left and bottom-right) - The four mitres are clean joints with a thin dark line. Strokes change direction across them. - Each inner corner has one bead centred on the mitre. The bead row does not break or double there. - Canvas corner pixels are opaque dark silver (for example `43,42,40` top left, `36,32,30` bottom right). - The 1 px sight edge around the opening never exceeds G 88, so no highlight touches the opening. **Shield seat**, clear box (962,2392)–(1086,2536) | | min RGB | max RGB | mean RGB | sd RGB | |---|---|---|---|---| | rare | 94,98,95 | 100,104,101 | 97.1, 101.0, 97.8 | 1.27, 1.18, 1.19 | | common (reference) | 67,44,31 | 84,56,39 | 78.0, 52.3, 36.6 | 1.92, 1.43, 0.99 | - Alpha is 255 throughout. The largest step between neighbouring pixels is 2 levels. - The calm face runs past the box on three sides: 8 px left and right, 6 px below (G 98–104 there). - Above the box, row 2391 is the dark edge of the bead channel (G 55–66). The beads end at y 2389. - The tablet's bevels start 8 px outside the box, so no ornament enters the clear space. **Beads**: autocorrelation of the bead row gives a first peak at 21 px on all four sides (r 0.95–0.96), which matches the placed pitch. Two cruder counting checks I tried first (threshold gaps, luminance peaks) gave inconsistent numbers and I discarded them; the bead count above is the placed count, not a measured one. **Reduced reading**: the frame was stacked over a dark backdrop and `layers/skins/moss.png`, run through the repository's `finish`, and box-reduced. - At 1/4 (512×640): clearly silver. A bright broken line runs along the outer rib and the cushion of the top and left rails, a dark band sits inside it, and the beads read as a row of separate round dots. - At 1/8 (256×320): a cool grey metal frame with one light line and one dark line per rail. The beads merge into a fine pale dotted line. The seat reads as a small flat grey tablet at bottom centre. - It stays distinct from the common rail at both sizes: cool grey against warm brown, with far higher contrast. **Repository tests**: `node --test test/raster/core.test.cjs` reports 8 tests, 8 pass, 0 fail. (Passing the directory, `node --test test/raster`, fails on this Node version because it treats the directory as a file. That is not caused by this item.) ## Remaining defects and limits - The paint is procedural. Brushwork is stroke noise and soft value steps along each rail, not hand-laid paint. At 100% the cushion reads as painted, but the beads are more regular than a hand would make them. - The bottom rail is 192 px against 144 px elsewhere. The moulding section is stretched ×1.4 on that rail, while the beaded lip keeps the same size on all four. The two bottom mitres therefore bend by about 9° for their last 24 px, where the moulding joint (54.5°) meets the 45° joint of the lip. It is faint in the bottom-corner crops and gone at 1/4 size. The top mitres are straight. - The seat tablet is a plain flat block that interrupts the moulding. Before the shield is mounted it is the least painterly part of the frame. The shield covers 100×120 of its 140×150 face. - The rail arms are not painted in this layer; the compositor mounts them, as the brief says. - No catalog schema or sibling catalog file exists in this checkout, so the record carries only the fields the brief names and was checked only for valid JSON. - Not checked: the frame under the real compositor with a real shield, and against the other four frames, which other items are painting in this wave.