Skip to content

Cool Visual Features

Choose a tag to compare

@megablue megablue released this 09 Oct 05:55
· 7 commits to split/renderer-process since this release

PingLatencyOverlay — changes since 7468388

Base: 7468388427147aa9849ad4df5263929b333ad0cb ("Keep one extra sample so the
line leaves the left edge", 2026-10-05). Tip: 57cddbf (2026-10-09), branch
split/renderer-process, pushed to origin. 25 commits, 30 files,
+5689/-1290 as of 55dfdb2; installer at the tip is
PingLatencyOverlay_0.2.66_x64-setup.exe.

New features

Discrete-band history compression — 55dfdb2. The canvas stays
windowSeconds × scale px; older history is drawn inside it as bands: newest at
the raw density (scale px/s), then an equally wide ladder of ratios stepped
evenly from 2× to historyCompressionRatio, then the reserve at the maximum
ratio. x_of is piecewise linear with a density step at each join, and the grid
columns follow it (30 px cells in the newest band, 30/ratio_k in band k).
crates/core/src/compression.rs is the single statement of the geometry; nine
new keys in crates/core/src/config.rs: historyCompression,
historyCompressionRatio, …NoZoneShare, …NoZoneMinPx, …MaxZoneShare,
…MaxZoneMinPx, …MinAxisPx. The rejected "grow the axis" path
(axis_growth, the Axis width row, its tests) is removed in the same commit.
The editor gets a Zones row.

Background grid — also 55dfdb2. Per-overlay backgroundGrid +
backgroundGridColor (#334155), off by default, drawn under Colors;
30 × 20 px cells, single 1 px stroke, drawn first in the graph's frame so it
rotates and mirrors with the lines.

Per-overlay timeout indicator — 808b72b. New timeoutIndicator:
Stick (default, the old full-height mark), Stub (2 px line on the canvas
bottom), Gap (nothing — the line's break is the mark). Same x positions, host
timeout colour, stroke width and draw order for all three.

Sample-cursor bounce — ce1ab95. On a live timeout reaching the drawn
cursor head, the cursor is flung to the top of the graph, hangs half out of the
overlay edge, shakes ~0.5 s, then eases back. Always on with the cursor; no new
key, no reserve/layout/draw-order change.

Cursor blink on timeout — a3c2587. cursorTimeoutBlink (off by default) +
cursorTimeoutBlinkColor (#ef4444): the triangle's fill breathes 35% → full
over two seconds, anchored to the run's first failed sample, reading the raw
buffer so it starts even under smooth rendering. A stale newest sample ends it.

Glow reach scales with intensity — b87be52. Reserve is now
radius * sqrt(intensity / 100), and below the zero line the glow's band and the
cursor's room are shared (the larger, not the sum). The live Default overlay is
312×135 where it was 312×144.

Changes

  • UI label pass — 7f391b2: units moved into values ("Sampling 30 seconds",
    "Y axis height 60 px", "Latency ceiling 1000 ms", …), time spelled out as
    "seconds"; display-mode / startup / border-effect labels settled into sentence
    case. The README table and docs/SPEC.md followed.
  • Documentation system — feature-map scaffold plus 18 pages under
    docs/features/, then split into sections a reader can open one at a time
    (b40f042); AGENTS.md slimmed to process and hard rules (fa6261e);
    HANDOFF.md tracked and trimmed to session state (27393ed); read order
    changed to handoff → map (615f704).
  • Handoff and ignore fixes — 57cddbf: HANDOFF.md refreshed to the shipped
    state, .gitignore covers a member crate's own target/, stray
    crates/core/target/plo-grid/ deleted.

Bug fixes

  • e8efedb — cursor shake parked mid-run. The shake's clock was the run's
    first failure, so a run older than the 0.9 s window left the cursor parked
    after the first timeout while failures kept arriving. It now counts from the
    newest failure (timeout_run_latest), so each further timeout restarts the
    shake; the blink keeps counting from the first. Shake retuned 12 Hz / 2 px →
    4.5 Hz / 0.6 × half-height / 0.9 s (the 12 Hz version was invisible under a
    30 fps overlay).
  • 808b72b — prefill test flake. Its real samples were all younger than
    smooth rendering's reveal hold, so the "green" it counted was the cursor rim's
    antialiasing; it now builds explicit older samples.
  • b87be52 — wasted glow reserve. A faint cast kept a full-radius band of
    empty window; the reserve now follows the reach.
  • Version drift in the 0.2.65 bundle. Its exes were built before the commit,
    so they report 0.2.64. Fixed by the rebuild at 57cddbf: all three exes and
    PingLatencyOverlay_0.2.66_x64-setup.exe report 0.2.66, at Medium integrity.