Files
swarm-house/prototype
eSlider f008da1427
CI & Release / Verify simulator (push) Successful in 7s
CI & Release / Trivy scan (push) Successful in 10s
CI & Release / Semantic Release (push) Successful in 1s
feat(prototype): adapt the patrol field to the display aspect ratio
The field was a fixed square, leaving wide monitors with dead side
margins. Field width now follows the window aspect (capped at 2.2:1,
quantized to avoid rebuilds on minor resizes); routes, obstacles and
transit spawns stretch with it, and the grid keeps 100 m cells.
2026-07-08 14:51:33 +01:00
..

Swarm visualization prototype

A 2D top-down view of the swarm data plane from 04 — Swarm sync: drones patrol an area with static and mobile obstacles, exchange 5 Hz pose broadcasts (blue link flashes), and run opportunistic bulk sync of sealed partitions (green links with live rate and cumulative up/down counters).

No backend — a pure client-side simulation of the same behavioral model the Python simulator implements over real Parquet and UDP.

Run

npm install
npm run dev     # http://localhost:5173

What to look at

  • Links appear and disappear as drones move in and out of radio range; persistent links render semi-transparent, broadcast deliveries flash them briefly.
  • Busy links turn green and show current rate plus total transferred ( / ) — the bandwidth budget from the sync design made visible.
  • Per-drone label: id, current Wi-Fi channel (hopping), battery.
  • Controls: drone count, simulation speed, pause.