This project is part of the @thi.ng/umbrella monorepo.
n-D spatial indexing data structures with a shared ES6 Map/Set-like API.
Some implementations were ported from the Clojure version of thi.ng/geom.
Currently available:
STABLE - used in production
yarn add @thi.ng/geom-accel
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/geom-accel?module" crossorigin></script>
// UMD
<script src="https://unpkg.com/@thi.ng/geom-accel/lib/index.umd.js" crossorigin></script>
Package sizes (gzipped, pre-treeshake): ESM: 3.76 KB / CJS: 3.82 KB / UMD: 3.83 KB
- @thi.ng/api
- @thi.ng/arrays
- @thi.ng/checks
- @thi.ng/equiv
- @thi.ng/geom-api
- @thi.ng/geom-isec
- @thi.ng/heaps
- @thi.ng/math
- @thi.ng/transducers
- @thi.ng/vectors
Several demos in this repo's /examples directory are using this package.
A selection:
Screenshot | Description | Live demo | Source |
---|---|---|---|
Doodle w/ K-nearest neighbor search result visualization | Demo | Source | |
Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualization | Demo | Source | |
2D Poisson-disc sampler with procedural gradient map | Demo | Source | |
2D Stratified grid sampling example | Demo | Source |
TODO
Karsten Schmidt
© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0