JSPM

@thi.ng/geom-accel

2.1.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 862
  • Score
    100M100P100Q114739F
  • License Apache-2.0

n-D spatial indexing data structures with a shared ES6 Map/Set-like API

Package Exports

  • @thi.ng/geom-accel

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/geom-accel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

geom-accel

npm version npm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

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:

Status

STABLE - used in production

Installation

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.80 KB / CJS: 3.87 KB / UMD: 3.85 KB

Dependencies

Usage examples

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

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0