Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@thi.ng/geom-accel
Advanced tools
n-D spatial indexing data structures with a shared ES6 Map/Set-like API
[!NOTE] This is one of 200 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! ❤️
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
Search or submit any issues for this package
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>
For Node.js REPL:
const accel = await import("@thi.ng/geom-accel");
Package sizes (brotli'd, pre-treeshake): ESM: 4.71 KB
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
Seven projects in this repo's /examples directory are using this package:
Screenshot | Description | Live demo | Source |
---|---|---|---|
Basic 2D boid simulation and spatial indexing neighbor lookups | Demo | Source | |
Doodle w/ K-nearest neighbor search result visualization | Demo | Source | |
K-nearest neighbor search in an hash grid | Demo | Source | |
Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualization | Demo | Source | |
2D Poisson-disc sampler with procedural gradient map | Demo | Source | |
Image-based Poisson-disk sampling | Demo | Source | |
2D Stratified grid sampling example | Demo | Source |
TODO
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
}
© 2013 - 2025 Karsten Schmidt // Apache License 2.0
FAQs
n-D spatial indexing data structures with a shared ES6 Map/Set-like API
The npm package @thi.ng/geom-accel receives a total of 317 weekly downloads. As such, @thi.ng/geom-accel popularity was classified as not popular.
We found that @thi.ng/geom-accel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.