This demo uses the ESM loader to initialize the WebAssembly build and run a simple KDTree query entirely in your browser.
Serve this file from the repository root so the asset paths resolve. For example:
python3 -m http.server -b 127.0.0.1 8000
Then open http://127.0.0.1:8000/examples/wasm-browser/ in your browser.
Open DevTools console to inspect results.