From 3bdc674fc5af9af57b05ec399ae78ed6f236b3b1 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Thu, 10 Sep 2026 12:41:05 -0400 Subject: [PATCH] slab: a rock among rocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The short `~` address encodes in 25 modules where the old command line took 33, and that buys back the room the first attempts had to spend. At 64 points the code draws at 58 — the stones are 56 — with four device pixels to a module, still above the floor the renderer refuses below. So it keeps the wall's rhythm instead of being the one tile that shouts. Still decodes off a full-screen capture. --- .../Sources/SlabMenubar/PromptSigilOverlay.swift | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/slab/menubar-swift/Sources/SlabMenubar/PromptSigilOverlay.swift b/slab/menubar-swift/Sources/SlabMenubar/PromptSigilOverlay.swift index 065340975d..630108e999 100644 --- a/slab/menubar-swift/Sources/SlabMenubar/PromptSigilOverlay.swift +++ b/slab/menubar-swift/Sources/SlabMenubar/PromptSigilOverlay.swift @@ -435,11 +435,12 @@ final class PromptSigilOverlay { /// legible to a phone camera held at desk distance, and shrunk to stone /// size its modules stop resolving. Even at this size it eats far less of /// the pane than the seventeen rows of half-blocks it replaces. - // Bigger than a stone because it has to be readable by a camera, but not a - // billboard: at 2x this is five device pixels per module, comfortably above - // the three-pixel floor and under half the area of the first attempt, which - // covered the corner of the terminal it was anchored to. - static let scanSurfaceSize: CGFloat = 80 + // A rock among rocks. The short `~` address encodes in 25 modules + // rather than 33, which buys back the room the first attempts spent: at 64 + // points the code draws at 58 — the stones are 56 — with four device pixels + // to a module, above the three-pixel floor. So it keeps the wall's rhythm + // instead of being the one tile that shouts. + static let scanSurfaceSize: CGFloat = 64 /// True when this rock shows a scannable code instead of the tumbling /// sigil. Fixed at construction, because it decides the surface's -- 2.51.2