mirror of
https://github.com/donlucasx/xscapes.git
synced 2026-10-20 08:43:32 +02:00
Lucas pushed back on the last conclusion and was right to. Terminal.app is not greyscale -- its palette is 216 real colours plus 24 greys. The night came out grey because our PALETTE is dark, not because the terminal is limited, and I had folded those two things together. The cube's resolution is wildly uneven with brightness. Counting only entries with real chroma: 4 below luma 25, 6 from 25 to 50, 16 from 50 to 75, 30 from 75 to 110, 46 from 110 to 150, and 108 above 150. Every earlier attempt tried to fix the BACKGROUNDS, which live at the starved end -- and to get them onto a colour you have to brighten them until it stops being night, which is exactly how all four designed palettes failed. But a background is supposed to be dark, and dark is what night is. The glyphs are the bright part of the frame, and brightness is where the cube gets generous. Measured on a real frame: 612 glyphs, 93.5% of those in the 110-150 band already landing on a real colour. So the darkness belongs in the ground and the colour in the texture, which is how ASCII art has always worked. Boosting glyph chroma before quantising takes glyphs from 45.1% on a real colour to 100%, at 2.0x and above. The sea now reads blue on Terminal.app instead of grey. The gate matters as much as the boost. Everything MEANT to read as white clusters just under chroma 30 -- cat fur 26, moon 26, foam 24, the newest line of sand 24 -- and everything meant to read as a colour is far above it: sea glyphs 80, the worried amber 148. There is a clean gap, so one threshold separates them. Getting it wrong is visible rather than subtle: at 18 the cat was inside the boost and turned peach, which measured perfectly and looked absurd. Backgrounds are never boosted. This is an improvement, not parity. Most of the frame is background, and dark backgrounds have no colour available at all, so a 256 terminal still shows a darker, quieter night than a truecolor one. ASCIISCAPES_CHROMA tunes the boost between 1 and 6 without a rebuild, and -info reports the value in use, because the right number is a judgement made looking at a real terminal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AU2ieNpECMF7S4go2CwcDX
202 KiB
1560x1225px
202 KiB
1560x1225px