# moss-skin: result ## What changed | File | Status | |---|---| | `layers/skins/moss.png` | **new**: 2048×2560 PNG, colour type 6 (RGBA), 8-bit, straight alpha, non-interlaced, 4,577,572 bytes | sha256 `98b4c9283db6896b61642a6b7cbb43645aaa644858d8e1fbc550b2c5a44b44bd` No other repository file was changed. `layers/skins/moss.png` is left uncommitted in the working tree. ## What the layer contains A moss-green frog-noble bust: head, broad wedge-shaped snout, jaw, pleated throat pouch, chest and both shoulders. It is in three-quarter view facing the viewer's left. It is an original design: warty, with a wedge snout and two eye turrets of different sizes, a visible tympanum and a supratympanic fold. It has no Pepe features: no big lips, no droopy front-facing eyes, no smooth cartoon skin. - **Form:** a height field built from blended ellipsoids, a wedge polygon and turret domes, lit from the upper left (light vector ≈ (-0.52, -0.62, 0.59)). Half-tones are warm, moving moss → ochre → bone. Shadows are cool, moving forest → umber-green. The lower bust darkens. A faint cool reflected rim runs along the lower and right edges, so the silhouette also reads on a dark backdrop. - **Palette anchors used:** umber #32251F, forest #253E32, moss #657044, oxblood #682F38, ochre #B48A47, gold leaf #C9A45A, warm bone #D7C7A3. Gold and bone appear only in the small moist specular highlights. Oxblood is a faint flush around the eye rims, the mouth corners and the nostrils. - **Skin:** - fBm mottling: dark forest/umber blotches with faint ochre halos, mostly dorsal and sparse on the throat and chest. - Ventral areas (throat, chin underside, chest) are paler and warmer. - 331 sparse granules (warts), plus a granule row along the supratympanic fold from behind the near eye down the back. - Irregular throat pleats. - **Brushwork:** 4 layers of directional oil strokes (≈128k strokes: widths 30/17/9/5 px). They follow the form contours and run along the pleats on the throat. They have bristle striation, dry-brush ends and light impasto relief. The two finer layers are placed only where the paint differs from the underpainting, so detail survives. - **Docking surfaces:** - Near eye socket: radius 66 px, centred on (1040,912). - Far eye socket: ellipse rx 44 / ry 48, centred on (680,936). - Both sockets are deep umber/oxblood cavities, each inside a raised, lit turret rim that acts as the lid seat. The near eye also has an upper-lid crease. - Resting muzzle: a raised, lit upper-lip plane, a slightly recessed lower-jaw plane, and a soft, low-contrast resting seam. The seam runs from (495,1190) to (1060,1220), sagging up to 16 px at mid-span (`y = lerp + 16·sin(π t)`). - Two small nostrils near the snout tip, at about (494,1066) and (452,1084). - **Not painted (left to future layers):** irises and eyeballs, lids, expressive mouth lines, clothing, background, banner, frame, varnish, craquelure and frame shadow. - **Exterior:** fully transparent (alpha 0, RGB 0). Nothing is painted outside the frame opening. ## How it was made Everything was painted procedurally by a seeded, deterministic Node.js script (`test/scratch/paint.js`, no external dependencies; PNG written with `zlib`). Python packages could not be installed (pip SSL certificate error), so Node was used. The generator script is **not delivered**, because it is outside this item's allowed paths. If the trunk wants it as layer source, a later item has to add it. ## Checks performed and observed results Measured with `test/scratch/check.js`, which decodes the PNG with `pngjs` from npm in test/scratch: | Check | Result | |---|---| | Size / format | 2048×2560, bit depth 8, colour type 6 (RGBA) ✔ | | Alpha bounds (x0, y0, x1 excl., y1 excl.) | **(149, 679) – (1866, 2368)** | | Opaque / partial-alpha pixels | 1,923,575 / 4,745 (anti-aliased edge) | | RGB ≠ 0 where alpha = 0 | 0 px ✔ | | Alpha outside frame opening (144,144)–(1904,2368) | 0 px ✔ | | Alpha sum in banner-arms reserve (1500,340)–(1740,628) | 0 ✔ | | Alpha sum in bottom-rail shield reserve (974,2404)–(1074,2524) | 0 ✔ | | Determinism | painted twice; `cmp` reports the files identical ✔ | Anchors (top edge = first row with alpha ≥ 128 in that column): | Anchor | Spec | Measured | |---|---|---| | Crown seat | (969,680) | skull top edge at x=969 is **y=682** (alpha at (969,680) is 0, so the seat point sits 2 px above the contour) | | Snout tip | (422,1120) | leftmost opaque x = **423 at y=1106**; at y=1120 the edge is x=424 | | Far eye | centre (680,936), iris ≈60 | alpha 255 at the centre. Dark-cavity centroid **(679.1, 936.8)** (luminance < 48). Cavity bbox (643,896)–(725,986), 82×90 px including the shadowed inner rim | | Near eye | centre (1040,912), iris ≈90 | alpha 255 at the centre. Designed socket r = 66 at (1040,912). Measured cavity centroid **(1027.1, 903.9)** (luminance < 40) and bbox centre (1048.5, 919.5), 141×145 px. The centroid is pulled up-left because the shaded upper-left inner wall is darker than the lit lower-right wall (the light comes from the upper left) | | Mouth corners | (495,1190), (1060,1220) | both opaque (alpha 255); seam drawn between them | | Throat | (978,1536) | opaque, on the pale pleated throat/chest transition | | Left shoulder peak | (365,1760) | top edge at x=365 is **y=1759** | | Right shoulder peak | (1575,1712) | top edge at x=1575 is **y=1712** | Visual inspection: I composited the layer over a light ground (#E8E0D0) and a dark ground (#181513) at 1/4 scale, made a 128×160 thumbnail on both grounds, and made a 1:1 face crop with the anchors marked. Results: - The silhouette reads clearly at thumbnail size on both grounds. - The edges are clean, with no halo on either ground. - The sockets, lip seam and nostrils sit on the specified anchors. - The brushwork is visible at 1:1. These preview images were in test/scratch and are not delivered. ## Notes for later workers (alignment and integration) 1. **Eye layers must have an opaque eyeball.** The skin is opaque (dark cavity) at both eye centres. Eyeball discs should cover at least r≈60 (near) and rx 40 / ry 44 (far) to hide the cavity. The lit rim just outside those radii is the lid seat. 2. **Crown seat** is 2 px above the painted skull edge (y=682 at x=969). A headwear layer anchored at (969,680) should overlap the skull by a few px. 3. **Snout tip** paints to x=423–424 rather than 422 (a 1–2 px shortfall from anti-aliasing and edge jitter). This is harmless, but don't rely on alpha at exactly (422,1120). 4. **Mouth layers:** the resting seam is drawn low-contrast. A mouth/expression layer should paint its own line along `y = lerp(1190,1220,t) + 16·sin(πt)` for x from 495 to 1060, or cover it. The oxblood flush at the corners is subtle. 5. **Bottom edge:** the bust is cut flat at y=2367, the last row of the opening, so it relies on the frame's bottom rail starting at y=2368. The bust spans x 149–1865 there. Attire layers for the shoulders and chest should cover from about y≥1640 downward. 6. **Other skins:** use this file's alpha as the shared silhouette mask, so all skins and attire align. The tympanum is at about (1238,1046), rx 56 / ry 63. The supratympanic fold runs (1105,838) → (1318,990) → (1336,1250) → (1450,1560). 7. **No finishing pass is baked in:** there is no varnish, craquelure or frame shadow, as the brief asks. Those come from the compositor.