# frame-epic — result ## Delivered - `layers/frames/epic.png`: 2048×2560 straight RGBA8 PNG (sha256 `1d5b088b5b2382f17d2307328b057eb3eff9baa23d5facd92888a791e61be03f`). It is encoded with the repo's `src/raster/png.cjs`. - `catalog/frame-epic.json`: `{"schema":"kekborn-assets@1","assets":[{"id":"frame.epic","slot":"frame","path":"layers/frames/epic.png","tier":"epic"}]}` ## How it was painted I wrote a procedural generator in `test/scratch/gen.cjs`. It is scratch work and is not submitted. It does the following: - Copies the alpha channel byte-for-byte from `layers/frames/common.png`. - Builds a height field for a gilt moulding: an outer bead, a cove, and a carved acanthus band (a curling, serrated leaf scroll repeated along each rail, with mitred corners and corner bosses), followed by an inner ogee and the sight-edge lip. - Shades the height field with one light from the upper left. The colour ramp runs from umber-dark through Ochre `#B48A47` to Gold leaf `#C9A45A`. Small specular dabs in Warm bone `#D7C7A3` appear only on surfaces facing the upper left, and the shadows get a warm ochre bounce. - Adds brushwork as anisotropic noise strokes that run along each rail. - Adds worn gilding as small, sparse patches of red bole (an oxblood/ochre mix, `#7A342C` to `#4A2422`), only on raised ridges and on the outer edge. - Fills the shield reserve plus its 12 px margin, (962,2392)–(1086,2536), with flat, calm, opaque gold. It blends into the moulding over 24 px and has no carving or wear (wear is kept out to 30 px). - Bakes in no varnish, craquelure or frame shadow. ## Checks (`test/scratch/chk.cjs`) - **Alpha vs `common.png`:** 0 differing pixels. The outside edge and the transparent aperture are identical. - **Opaque pixels inside the aperture (144,144)–(1904,2368):** 0. - **Shield seat box:** minimum alpha 255, mean luminance 144, standard deviation 3.8 (calm), minimum luminance 133. - **Visual inspection** of crops of the top-left corner, bottom-right corner, shield seat, and a 1/8-scale reduction: - At full size the carving reads as gilt acanthus. - Reduced to 1/8, it reads as a warm gold frame with a rhythmic carved band and a slightly plainer tablet at the bottom centre where the shield goes. The bole flecks become faint red speckles. ## Remaining defects - The gold is a little light and yellow before the varnish pass, which should warm and darken it. - The acanthus is a stylised procedural scroll, not hand-drawn leaves. - The corner bosses are simple and somewhat blobby. The bottom corners sit where the 144 px side rail meets the 192 px bottom rail, so the mitre there is asymmetric.