Skip to main content

Brain stage telemetry cleanup

· 2 min read
Brain Research Visualizer

The brain stage now keeps telemetry in one place. The floating canvas badge has been removed, and the existing bottom status bar now carries the neuron and axon counts beside the live signal count.

What changed

  • index.html removes the .brain-badge overlay from the brain stage and updates the initial status text with N 0, A 0, and SIG 0.
  • css/app.css removes the desktop and mobile badge styles plus the live-dot styling that only existed for that overlay.
  • src/brain-ui.ts no longer caches or updates #brainTelemetry, and the removed buildTelemetryLine() helper is gone.
  • src/scene.ts adds neuron and axon totals to the status bar. The full status uses NEURONS and AXONS; the compact status uses N and A to keep the line readable on narrow canvases.

User impact

  • The brain canvas is visually cleaner and focuses on the 3D brain plus the existing affect label.
  • Duplicate telemetry is gone. Neuron and axon counts now live with the rest of the stage readout in the bottom status bar.
  • The right-panel telemetry tiles are unchanged, so dashboard metrics remain in the same place.

Verification

Checked locally with:

pnpm typecheck
pnpm test
pnpm exec vite build

The built app was served locally and checked at desktop and mobile widths. The checks confirmed the badge DOM is gone, #brainTelemetry no longer exists, the affect overlay remains, the status bar includes neuron, axon, and signal counts, the right-panel metrics remain populated, and the WebGL canvas renders with visible pixel variation.