Files
xscapes/catalts_picks.go
donlucasandClaude Opus 5 1d7a6fce6d One copy of the art: the study pages draw what the product paints
The card said the chosen art exists twice, in the shipped package and in the
three root study files. Compared literal by literal rather than taken on
trust, and the note overstated it: of the nine picked pieces, exactly THREE
were byte-identical duplicates.

  catBodyNoMouth    28 rows  ==  companion.CatBodyNear2
  crabSettledClaw   12 rows  ==  companion.crabSettledClaw
  crabSettledLower  16 rows  ==  companion.crabSettledLower

The rest -- catRungFaithfulUpper/Ask/Lower, crabSettledUpper,
crabSettledBoth, catRung2DeepEye -- have no shipped twin. They are study-only
variants and the candidate sets in catalts_art.go and cattop_art.go are the
record of what he chose from, so all of it stays.

The two crab pieces are exported as CrabSettledClaw and CrabSettledLower,
following CatAsk and CatDone, which are already exported for exactly this
reason. The three root copies are deleted and every study use now reads the
shipped art, so a change to a pose reaches the page he picks from.

Also moved LastEdgeExport and writeBandColorExport out of zzscratch_test.go
into exports_test.go. That scratch file reached main through `git add -A`, the
same accident as zzambientprobe_test.go, and TestSittersAndTheTide now depends
on one of its helpers -- so deleting a file whose name says it is disposable
would have broken the suite. Its ten TestZZ tests are untouched and are still
his call.

Verified: build, vet, fmt and the full suite green, and `-catalts` still
renders all ten sections including both settled-crab stages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GMqWZ1H9GqNU2Soe9qWYBE
2026-09-13 18:25:48 -07:00

174 lines
6.6 KiB
Go

package main
import "github.com/donlucasx/xscapes/internal/companion"
// The art HE RULED ON, 2026-09-11, with the edits his rulings called for.
// Derived from the drafting round in catalts_art.go; kept separate because that
// file is generated and this one is hand-edited.
// catRungFaithful is "The Faithful Scale-Up" with the NOSE REMOVED, his ruling:
// "try the faithcul scale-up, rung 1, but without the nose (the original rung 0
// doesnt have any nose/mouth)."
//
// ⚠ HE IS RIGHT AND THE REASON IS A RENDERING ACCIDENT, not a design decision.
// The shipped cat DOES carry a muzzle gap in its source -- CatBody row 11,
// columns 8..10 -- but ToQuadrant ORs source rows 2k and 2k+1 before packing,
// and rows 10 and 12 are solid, so row 11 is swallowed whole. The cat has never
// had a nose ON SCREEN. The scale-up put its own muzzle gap across rows 16..17,
// which is a half-row boundary, so the gap survived the OR and a nose appeared
// for the first time as the animal walked toward you. That is a new feature
// arriving with proximity, not more of the same detail at a bigger size.
//
// Removed here: the notch at rows 16..17 of the level pose, and the open mouth
// at rows 16..19 of the ask. The ask still reads, and it reads by the same
// mechanism he picked for the shipped size -- the skull band between the ears
// is deleted so the ears stand free (rows 2..3).
var catRungFaithfulUpper = []string{
".....##..........##.............",
".....##..........##.............",
"....#####......#####............",
"....################............",
"...##################...........",
"..####################..........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".###....########....###.........",
".###....########....###.........",
".###....########....###.........",
".###....########....###.........",
".######################.........",
".######################.........",
"...##################...........",
"....################............",
".....##############.............",
"......############..............",
".....##############.............",
"....################............",
}
var catRungFaithfulAsk = []string{
".....##..........##.............",
".....##..........##.............",
"....#####......#####............",
"....######....######............",
"...##################...........",
"..####################..........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".###....########....###.........",
".###....########....###.........",
".###....########....###.........",
".###....########....###.........",
".######################.........",
".######################.........",
"...##################...........",
"....################............",
".....##############.............",
"......############..............",
".....##############.............",
"....################............",
}
var catRungFaithfulLower = []string{
"..####################..........",
"..####################..........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
".######################.........",
"..####...######...####..........",
"..####...######...####..........",
"..####...######...####..........",
}
// crabSettled is the crab's Done pose, his pick: "settled on the sand".
var crabSettledUpper = []string{
"........................",
"........................",
"........................",
"........................",
"##..##............##..##",
"##..##............##..##",
"######............######",
"######............######",
"..####..##....##..####..",
"..####..##....##..####..",
"..##......####......##..",
"..##......####......##..",
}
// crabSettledBoth is the louder version: BOTH pincers shut.
//
// On the page beside the single claw, because one claw is a single CELL of
// change at the shipped 12x7 size and that may simply be too quiet to notice --
// which is the same complaint that started the constellation work. Two claws is
// twice the signal and reads more like a machine resetting than an animal
// settling. His call, from the two rendered.
var crabSettledBoth = []string{
"........................",
"........................",
"........................",
"........................",
"######............######",
"######............######",
"######............######",
"######............######",
"..####..##....##..####..",
"..####..##....##..####..",
"..##......####......##..",
"..##......####......##..",
}
// ---------------------------------------------------------------------------
// RUNG 2, FIXED. His ruling 2026-09-12: "lets fix the rung 2 then, just fix the
// eyes and remove the mouth."
// ---------------------------------------------------------------------------
// catRung2EyeCells is where the doubled cat's eye sockets actually are, on the
// rendered frame: cells 4..6 and 12..14 of row 4, three cells wide each.
//
// ⚠ MY MOCKUP HAD THIS WRONG AND THAT IS MOST OF WHAT HE WAS LOOKING AT. It
// passed {8, 14} -- the CRAB's near-pose eye cells, copied out of nearPoseFor.
// Measured on the rendered frame: cell 8 is INK, and mirrored (which is how the
// scape draws it) {8,14} become 15 and 9, BOTH INK. So both eye glyphs were
// painted on the animal's forehead rather than in its sockets.
var (
catRung2Sockets = [2][2]int{{4, 6}, {12, 14}}
catRung2EyeRow = 4
)
// catRung2DeepEye is the doubled body with the eye socket carried DOWN a whole
// cell row, so an eye can be two cells tall instead of one.
//
// This is the other half of "fix the eyes". At 12x7 the eye is 1 cell of 84; at
// 24x14 a single glyph is 1 of 336, which is why it reads as a small mark stuck
// on a large blank face rather than as an eye. The crab solved the same problem
// at the same rung by going to a 2x2 bitmap. Only the doubled art is touched,
// so nothing at 12x7 or 16x9 moves.
func catRung2DeepEye() []string {
rows := double2x(companion.CatBodyNear2)
// Source rows 16..19 are the existing socket (cell row 4). Carrying it to
// rows 20..23 makes the socket cell rows 4 and 5.
for y := 20; y <= 23; y++ {
r := []rune(rows[y])
for _, span := range [][2]int{{8, 13}, {24, 29}} {
for x := span[0]; x <= span[1]; x++ {
r[x] = '.'
}
}
rows[y] = string(r)
}
return rows
}