@vizcrush/spatial3d
v1.0.0
Published
3D octree spatial indexing with frustum culling
Maintainers
Readme
@vizcrush/spatial3d
Octree, 3D kNN, and frustum culling for point clouds.
Part of vizcrush — high-performance data primitives for browser visualization, written in Rust, compiled to WebAssembly, with a pure-JS fallback.
Install
npm install @vizcrush/spatial3dExample
import { buildOctree, queryRange3d, frustumCull } from "@vizcrush/spatial3d";
const tree = await buildOctree(x, y, z);
const inBox = queryRange3d(tree, { xMin, xMax, yMin, yMax, zMin, zMax });Documentation
Full guides and API reference: debug-diary-1.github.io/vizcrush · The vizcrush Book
License
MIT
