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).
14 lines
313 B
TypeScript
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>,
|
|
);
|