Skip to content

20260915 - Thin the white outline on tracker scope markers - #88

Merged
Purple10101 merged 1 commit into
mainfrom
20260915-thin-track-marker-outline
Sep 15, 2026
Merged

Purple10101 merged 1 commit into
mainfrom
20260915-thin-track-marker-outline

Conversation

@Purple10101

Copy link
Copy Markdown
Collaborator

One line, in the Tracker page's track trace:

-  marker: { color: colorFor(r.id), size: 7, line: { color: '#ffffff', width: 1.2 } },
+  marker: { color: colorFor(r.id), size: 7, line: { color: '#ffffff', width: 0.5 } },

Why

blah2 runs a 0.5 s CPI and the page's default window is 900 s, so a track held for the full window lays down 1,800 markers. A tangential pass barely moves in either axis, so those markers stack inside about a kilometre of bistatic range and a few Hz of Doppler. At a 1.2 px ring each point overpaints the fill of the one before it and the track reads as a white smear instead of a coloured line. Two tracks running close together do the same to each other.

0.5 px keeps points countable where they are sparse, which is the reason the ring exists, without bleaching the dense case. Dropping the ring entirely was the other option and is worse: the track fuses into one solid stroke and the per-detection reading is lost.

Verification

Judged against a rig that redraws the same scope twice from one dataset, matching the page exactly: Plotly 3.7.0, scattergl, size-7 markers on the hsl(h,58%,42%) wheel, the rgba(0,0,0,0.25) joining line, the detections layer at size 4 / opacity 0.4 beneath, and 1,800 track points at the real cadence. Only the outline width differs between the two panels.

pytest tests/test_tracker_routes.py passes (13 tests). Not yet deployed to a node: jonathan-node-1 is mid-test and a template change needs a GUI restart to take effect, since Flask debug is off there and Jinja caches templates.

🤖 Generated with Claude Code

blah2 runs a 0.5 s CPI, so a track held across the page's default 15-minute
window lays down 1,800 markers. Where a target flies tangentially the range
and Doppler barely move, those markers stack, and a 1.2 px white ring is
wide enough that each point overpaints the fill of the one before it: the
track reads as a white smear rather than a coloured line.

0.5 px still separates neighbouring points where they are sparse, which is
what the ring is there for, without bleaching the dense case.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Purple10101
Purple10101 merged commit e8ce68e into main Sep 15, 2026
3 checks passed
@Purple10101
Purple10101 deleted the 20260915-thin-track-marker-outline branch September 15, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant