Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/geom-accel

Package Overview
Dependencies
Maintainers
0
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/geom-accel

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

  • 4.1.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@thi.ng/geom-accel

npm version npm downloads Mastodon Follow

[!NOTE] This is one of 199 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.

🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️

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

Search or submit any issues for this package

Installation

yarn add @thi.ng/geom-accel

ESM import:

import * as accel from "@thi.ng/geom-accel";

Browser ESM import:

<script type="module" src="https://esm.run/@thi.ng/geom-accel"></script>

JSDelivr documentation

For Node.js REPL:

const accel = await import("@thi.ng/geom-accel");

Package sizes (brotli'd, pre-treeshake): ESM: 4.71 KB

Dependencies

Note: @thi.ng/api is in most cases a type-only import (not used at runtime)

Usage examples

Seven projects in this repo's /examples directory are using this package:

ScreenshotDescriptionLive demoSource
Basic 2D boid simulation and spatial indexing neighbor lookupsDemoSource
Doodle w/ K-nearest neighbor search result visualizationDemoSource
K-nearest neighbor search in an hash gridDemoSource
Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualizationDemoSource
2D Poisson-disc sampler with procedural gradient mapDemoSource
Image-based Poisson-disk samplingDemoSource
2D Stratified grid sampling exampleDemoSource

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-geom-accel,
  title = "@thi.ng/geom-accel",
  author = "Karsten Schmidt",
  note = "https://thi.ng/geom-accel",
  year = 2013
}

License

© 2013 - 2024 Karsten Schmidt // Apache License 2.0

Keywords

FAQs

Package last updated on 24 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc