/ concept-collection / qhull-wasm-demo
Sign in
concept-collection / qhull-wasm-demo
qhull-wasm-demo
Go to fileHistoryFork
.githubqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
publicqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
scriptsqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
srcqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
.gitignoreqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
eslint.config.jsqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
index.htmlqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
package-lock.jsonqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
package.jsonqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
README.mdqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
tsconfig.app.jsonqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
tsconfig.jsonqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
tsconfig.node.jsonqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks
vite.config.tsqhull-wasm demo: 2D/3D triangulation, convex hull, and Delaunay benchmarks

qhull-wasm-demo#

Interactive demos and benchmarks for qhull-wasmQhull compiled to WebAssembly for computing convex hulls and Delaunay triangulations in the browser.

Live: https://concept-collection.github.io/qhull-wasm-demo/

  • 2D Triangulation — Delaunay triangulation + convex hull of a point set; click to add points, switch distributions, toggle circumcircles.
  • 3D Convex Hull — triangulated hull of a 3D point cloud, rendered with three.js (drag to rotate).
  • Benchmarks — times Delaunay triangulation in the browser, alongside a .m script that runs identically in MATLAB, Octave, and numbl (all triangulate via Qhull) for an apples-to-apples desktop-vs-browser comparison. See scripts/qhull_benchmark.m.

Develop#

npm install
npm run dev      # local dev server
npm run build    # production build -> dist/

Deployed to GitHub Pages by .github/workflows/deploy.yml on push to main.

moveopenescclose