Files
swarm-house/prototype/README.md
eSlider 1e5854ee0a
CI & Release / Verify simulator (push) Skipped
CI & Release / Trivy scan (push) Skipped
CI & Release / Semantic Release (push) Skipped
CI & Release / Verify simulator (pull_request) Failing after 5s
CI & Release / Trivy scan (pull_request) Skipped
CI & Release / Semantic Release (pull_request) Skipped
feat: prototype perimeter patrol, 3D view, and swarm algorithms
Add optional Three.js scene, base-pad lifecycle, mycelial swarms,
UFO transit steering, and algorithm selector (boids, APF, ACO, hypha).
2026-07-12 12:51:25 +01:00

1.2 KiB

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).

Optional 3d checkbox in the header switches to a Three.js perimeter patrol scene (WebGPU/WebGL, shader terrain, transit escort, search panel). Off by default.

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.
  • 3d — perimeter patrol, altitude, detection beams, 4-drone escort sphere