Files
swarm-house/prototype/src/main.tsx
T
eSlider c0b2ee806b feat(prototype): 2D swarm data-plane visualization
Top-down SVG view: patrol flight with separation and obstacle avoidance,
mesh links appearing within radio range, pose-broadcast flashes, bulk
sync transfers with live rate and cumulative up/down counters, channel
hopping and battery per drone. Pure client-side simulation (Vite/React/TS).
2026-07-08 13:17:49 +01:00

14 lines
313 B
TypeScript

import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App";
const rootEl = document.getElementById("root");
if (!rootEl) throw new Error("missing #root");
document.body.style.margin = "0";
createRoot(rootEl).render(
<StrictMode>
<App />
</StrictMode>,
);