---
title: "three-bvh-csg"
description: "Fast, memory-compact constructive solid geometry for Three.js with runtime boolean union, subtraction and intersection on meshes."
canonical: "https://vibing.inc/library/three-bvh-csg-vg-1773"
category: "Shaders, WebGL & Creative Coding"
subcategory: "Three.js helpers"
license: "MIT"
author: "Garrett Johnson (@gkjohnson)"
source: "https://github.com/gkjohnson/three-bvh-csg"
---

# three-bvh-csg
Fast, memory-compact constructive solid geometry for Three.js with runtime boolean union, subtraction and intersection on meshes.
## Facts
- Source: https://github.com/gkjohnson/three-bvh-csg
- Category: Shaders, WebGL & Creative Coding / Three.js helpers
- Author: Garrett Johnson (@gkjohnson)
- Licence: MIT
- Tags: three.js, csg, geometry, booleans
## Why it's a gem
Real-time boolean geometry in a browser, which most developers assume is impossible.
---
Listed in The Vibeary: https://vibing.inc/library/three-bvh-csg-vg-1773 · JSON: https://vibing.inc/api/public/library/gems/three-bvh-csg-vg-1773