gkjohnson/three-mesh-bvh
A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 97
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14.5
- age_days: 3149
- days_rel: 32
- days_push: 23
- n_releases_24m: 21
Adoption not part of the score
3462 stars · 333 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Bounding Volume Hierarchy (BVH) acceleration library for three.js that speeds up raycasting and enables spatial queries against meshes. It supports raycasting, distance queries, shape casting, SDF generation, and GPU path tracing on large geometries.
Use cases
- speed up raycasting against large three.js meshes
- perform spatial queries like distance and intersection tests on 3D geometry
- build character movement and collision detection in a three.js game
- generate signed distance fields from meshes
- do GPU path tracing in the browser
- implement lasso selection or triangle painting tools on 3D models
- voxelize or sculpt 3D geometry in the browser
When to choose
- you use three.js and need fast raycasting on high-polygon meshes
- you need spatial queries (distance, intersection, shapecast) against 3D geometry in JavaScript
- you're building browser-based 3D games, editors, or path tracers with three.js
When to avoid
- you're not using three.js or WebGL-based rendering
- you need a general-purpose physics engine with rigid body dynamics
- you need BVH acceleration outside JavaScript/browser environments
Facets
library · maturity active
graphics simulation computer-vision game-engine graphics web-development simulation browser threejs bvh raycasting spatial-index path-tracing collision-detection webgl performance game-development nodejs javascript web
3 sources
- readme: https://github.com/gkjohnson/three-mesh-bvh · fetched 2026-08-28 · cf27b5651708
- homepage: https://gkjohnson.github.io/three-mesh-bvh/example/bundle/raycast.html · fetched 2026-08-29 · e44998706f69
- registry_npm: https://registry.npmjs.org/three-mesh-bvh · fetched 2026-08-29 · 0b0a6d922342
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gkjohnson/three-mesh-bvh | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="gkjohnson/three-mesh-bvh")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem