Catalog npm
PACKAGE EXPLORERView in registry

3d-space-query

npm

a library for searching geometries based on a given geometry as query

3d space searchbvhcollision detectioncomputational geometryjavascripttypescript
Versions collected8
Direct dependencies13From release 1.4.1
Last observed20 Oct, 19:37 UTC

README

Current package documentation

3d-space-query

Planned development work:

  • add a JS version of the single-threaded implementation
  • add a WASM verion of the single-threaded implementation
  • add basic UTs monitoring the different implementations' correctness
    • JS implementation (single-threaded)
    • WASM implementation (single-threaded)
  • add basic script running benchmark tasks against different implmenetations. And set up intuitive speed/performance expectation.
    • in term of speed:
      • multi-threaded is faster than single threaded
      • wasm is faster than JS (wasm searching is significantly slower in browser at this moment, needs further investigation.)
      • performance gain grows as the input scales up
    • in term of memory usage:
      • multi-threaded uses more than single-threaded
      • wasm uses more than JS
  • migrate benchmarking code to web worker
  • replace CMake with Bazel
  • introduce emscripten docker for building wasm module
  • enrich the supported geometric query
    • initial support: aabb
    • later support: ray
  • add a multi-threaded implementation in JS
    • build
    • search - optional
  • add a multi-threaded implementation in wasm (might replace the single threaded wasm implementation if possible)
    • build
    • search - optional
  • (bonus) migrate multi-threaded implementations to GPU if possible

Example Screenshots:

  • index 5000 boxes + check 50000 targets index 5000 boxes + check 50000 targets

  • index 50000 boxes + check 50000 targets index 50000 boxes + check 50000 targets

  • index 100000 boxes + check 50000 targets index 100000 boxes + check 50000 targets

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 8

Collected releases
VersionPublishedDirect dependenciesOpen version
1.4.1Registry latest22 Mar 202313
1.4.020 Mar 202313
1.3.04 Feb 202313
1.2.225 Jan 202313
1.2.124 Jan 202313
1.2.022 Jan 202311
1.1.020 Jan 20238
1.0.110 Jan 20235

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
zheyangsong/3d-space-query

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c714d5f63dad822b755825be09f39b3997280bd9e423bd412aa04fd0f6bc8571