27 packages matching “broadphase”
romanpppphs
v1.0.1 · 3 years ago
simple game physics lib
No known vulnerabilities
@newkrok/nape-js
v3.39.1 · 2 months ago
High-performance 2D physics engine for TypeScript & JavaScript — rigid bodies, constraints, fluid simulation, raycasting, and deterministic multiplayer. Tree-shakeable, zero dependencies.
No known vulnerabilities
@zakkster/lite-aabb
v2.0.0 · 12 days ago
Zero-GC 2D axis-aligned bounding box primitives. 22 ops on a flat Float32Array(4) [minX, minY, maxX, maxY], including packed 4xN batch ops; every op writes into a caller-provided out buffer — no per-frame allocation. ~230 lines, zero deps, ESM only.
No known vulnerabilities
@zakkster/lite-bvh
v2.0.0 · 12 days ago
Zero-GC dynamic Bounding Volume Hierarchy for 2D. Flat Structure-of-Arrays layout, O(1) free-list allocation, SAH insertion, iterative query — every operation is allocation-free after construction. Companion to @zakkster/lite-aabb.
No known vulnerabilities
@zakkster/lite-overlap
v1.4.0 · 7 days ago
Zero-GC persistent overlap events over a dynamic BVH (2D): turns a per-frame set of overlapping pairs into a per-frame delta -- enter / stay / exit -- with zero allocation per frame. Open-addressed Int32Array pair table, 1-bit alternating-tag mark-sweep.
No known vulnerabilities
@zakkster/lite-spatial
v1.0.1 · 4 months ago
Zero-GC spatial hash grid with linked-list chaining, epoch deduplication, box + radius queries, and O(1) insert/remove. SoA-aligned for particle engines.
No known vulnerabilities
miaoda-game-contact2d-core
v0.1.0 · 2 days ago
Engine-neutral continuous 2D contact queries for moving circles, segments, and capsules with earliest time of impact and deterministic ordering.
No known vulnerabilities