A basic example of converting a voxel-based image to a simplified mesh.
- Open the live demo.
You can serve a hot-reloadable web page that allows you to interactively modify the source code.
git clone https://github.com/niivue/niivue-mesh
cd niivue-mesh
npm install
npm run dev
You can recompile the nii2mesh Web Assembly code
git clone [email protected]:neurolabusc/nii2mesh.git
cd nii2mesh/src
make wasm
- Will Usher ported Marching Cubes to JavaScript.
- This project includes a pure JavaScript port of Sven Forstmann's Fast Quadric Mesh Simplification
- Tim Knip provides a ThreeJS project that provides both WASM and native JavaScript mesh decimation. Try the live demo.