/ proof-of-concept / qhull-wasm-demo
Sign in
proof-of-concept / qhull-wasm-demo
qhull-wasm-demo / README.md
28 lines · 1.1 KBCodeBlameHistory
3Interactive demos and benchmarks for
4[qhull-wasm](https://github.com/magland/qhull-wasm) — [Qhull](http://www.qhull.org)
5compiled to WebAssembly for computing convex hulls and Delaunay triangulations
6in the browser.
8**Live:** https://concept-collection.github.io/qhull-wasm-demo/
10- **2D Triangulation** — Delaunay triangulation + convex hull of a point set;
11 click to add points, switch distributions, toggle circumcircles.
12- **3D Convex Hull** — triangulated hull of a 3D point cloud, rendered with
13 three.js (drag to rotate).
14- **Benchmarks** — times Delaunay triangulation in the browser, alongside a
15 `.m` script that runs identically in MATLAB, Octave, and
16 [numbl](https://numbl.org) (all triangulate via Qhull) for an apples-to-apples
17 desktop-vs-browser comparison. See [scripts/qhull_benchmark.m](scripts/qhull_benchmark.m).
19## Develop
21```bash
22npm install
23npm run dev # local dev server
24npm run build # production build -> dist/
25```
27Deployed to GitHub Pages by [.github/workflows/deploy.yml](.github/workflows/deploy.yml)
28on push to `main`.
↑↓ move↵openescclose