/ concept-collection / hitandrun-interactive
Sign in
concept-collection / hitandrun-interactive
hitandrun-interactive / app / src / main.tsx
12 lines · 392 BCodeBlameHistory
9fbdc3eInteractive hit-and-run sampling of a 2D convex regionJeremy Magland 1import { StrictMode } from "react";
2import { createRoot } from "react-dom/client";
3// Import the bridge first so `window.setup` is defined before the host's
4// bootstrap calls it (it defers to DOMContentLoaded, after module scripts run).
5import "./bridge.js";
6import { App } from "./App.js";
8createRoot(document.getElementById("root")!).render(
9 <StrictMode>
10 <App />
11 </StrictMode>
12);
moveopenescclose