evanw/csg.js
Constructive solid geometry on meshes using BSP trees in JavaScript observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 5390
- days_rel: n/a
- days_push: 2524
- n_releases_24m: 0
Adoption not part of the score
1862 stars · 265 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library implementing Constructive Solid Geometry (CSG) on 3D meshes using BSP trees. It supports Boolean operations like union, subtraction, and intersection between solids, with correct handling of coplanar polygons.
Use cases
- perform boolean operations on 3d meshes in the browser
- subtract a sphere from a cube in javascript
- build 3d modeling tools with union and intersection of solids
- learn how CSG with BSP trees works
- generate combined solid geometry for webgl scenes
When to choose
- you need simple, readable CSG operations in JavaScript
- you want a dependency-free library for boolean mesh operations
- you need correct handling of coplanar polygon edge cases
When to avoid
- you need high-performance CSG on large or complex meshes
- you need maintained software with recent updates and releases
- you need full 3D modeling features beyond boolean operations
Facets
library · maturity maintenance
graphics simulation math graphics web-development browser cross-platform constructive-solid-geometry csg bsp-trees 3d-meshes boolean-operations javascript game-development algorithms nodejs
1 source
- readme: https://github.com/evanw/csg.js · fetched 2026-08-28 · 48ded66614ff
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| evanw/csg.js | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem