From cdd35235508658e0831b5443af8fbd79775583aa Mon Sep 17 00:00:00 2001 From: rolandnsharp Date: Sun, 5 Apr 2026 21:16:35 +1000 Subject: [PATCH] Remove graticule entirely Co-Authored-By: Claude Opus 4.6 (1M context) --- src/osc.nim | 1 - src/osc/scope.nim | 32 -------------------------------- 2 files changed, 33 deletions(-) diff --git a/src/osc.nim b/src/osc.nim index bd9c98b..daafaef 100644 --- a/src/osc.nim +++ b/src/osc.nim @@ -43,7 +43,6 @@ proc main() = tb = newTerminalBuffer(w, h) scope.phosphor.render(tb) - drawGraticule(tb, w, h) drawHUD(tb, w, h, scope) tb.display() diff --git a/src/osc/scope.nim b/src/osc/scope.nim index d230806..ecec36f 100644 --- a/src/osc/scope.nim +++ b/src/osc/scope.nim @@ -76,38 +76,6 @@ proc renderTrace*(scope: var Scope) = prevX = x prevY = y -# ── Graticule ──────────────────────────────────────────────────────── - -proc drawGraticule*(tb: var TerminalBuffer, w, h: int) = - let cx = w div 2 - let cy = h div 2 - - # Division lines - for d in 1..<10: - let x = d * w div 10 - if x > 0 and x < w: - for y in 0.. 0 and y < h: - for x in 0.. 0 and x < w: - for dy in 1..<8: - let y = dy * h div 8 - if y > 0 and y < h: - tb.write(x, y, fgGreen, styleDim, "┼") - # ── HUD ────────────────────────────────────────────────────────────── proc drawHUD*(tb: var TerminalBuffer, w, h: int, scope: Scope) =