csgrs-js
v0.20.1
Published
Constructive solid geometry (CSG) on meshes using BSP trees in Rust
Maintainers
Readme
csgrs-js [ALPHA]
This is a WASM/TS/JS build of CSGRS library: https://github.com/timschmidt/csgrs
Build
git clone https://github.com/timschmidt/csgrs
cd csgrs # go inside csgrs directory
# make sure you have Rust and Cargo: https://doc.rust-lang.org/cargo/getting-started/installation.html
cargo install wasm-pack
wasm-pack build --release --target bundler --out-dir pkg -- --features wasm
# build is in ./pkgUsage
See WASM examples in: https://github.com/timschmidt/csgrs/tree/main/examples
