This is the ui app for visualizing, testing, and demonstrating the cavalier_contours crate.
Github CI publishes latest on master branch to github pages.
👉 Click to run the web demo 👈.
The app is built with:
- egui (immediate mode GUI library)
- egui_plot (plotting widget for egui)
- lyon (path tessellation library for filling concave and complex polygons)
cargo runImportant
You need to have trunk installed to run the web ui locally (install docs here). Compiling from source:
cargo install trunk --lockedYou will also need the rust wasm target installed, using rustup:
rustup target add wasm32-unknown-unknowntrunk serveThen go to http://localhost:8080/#dev in your browser (/#dev is important to force not loading a stale cached version).