From 3aa2916846dc14185881561a9d232a352ddb3a91 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Martineau Date: Wed, 16 Sep 2026 01:50:08 -0400 Subject: [PATCH] The seam blurs under 0.10 again: the tighter 0.035 left wedges a reader had to hunt for Set by eye on the same ladder: at 0.10 the solid point is found at one cell without looking for it, and the safe side of the line is the blur, since a wrong blur still draws a legible seam and a wrong interlock draws none. The shade stays at 0.10. Co-Authored-By: Claude Fable 5.1 --- meshterm/ui/pathline.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/meshterm/ui/pathline.py b/meshterm/ui/pathline.py index 6773729..3a8c754 100644 --- a/meshterm/ui/pathline.py +++ b/meshterm/ui/pathline.py @@ -272,12 +272,14 @@ def _style_hex(style: str) -> str | None: #: blurred too little there and too much here, and an sRGB distance would only have #: restated the hue gap (a fixed byte step is a near-constant ``55``–``60`` of 8-bit RGB #: all the way round). The value was then set by eye on a ladder of the spectrum's own -#: pairs drawn both ways (JP, 2026-09-16): the solid point stays findable at one cell -#: down to a little under two noticeable differences, and below that the wedge is gone. -#: So the interlock is the ordinary seam and the thin chevron is for fills that are the -#: same or as good as — a mirrored leg, a keyless run, the greens' nearest neighbours -#: (``0x10`` of green is ``0.026`` and blurs; ``0x10`` of red is ``0.124`` and doesn't). -SEAM_BLUR = 0.035 +#: pairs drawn both ways (JP, 2026-09-16), and it sits where the solid point is not just +#: detectable at one cell but *found* without looking for it: ``0.10``, five noticeable +#: differences, the typical ``0x10`` pair with a little to spare. Tighter (``0.035`` was +#: tried) left wedges a reader had to hunt for; the safe side is this one, since a wrong +#: blur still draws a legible seam and a wrong interlock draws none. ``0x10`` of green is +#: ``0.026`` and blurs; ``0x10`` of red is ``0.124`` and doesn't; the two greys, ``0.18`` +#: apart, keep their interlock on the metric alone. +SEAM_BLUR = 0.10 #: How far the thin chevron's colour steps from the fill it is drawn in, in OKLab ``L`` #: — a lightness shift alone, so it reads as *that chip's colour, shaded* rather than as