Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.09 KB

File metadata and controls

38 lines (27 loc) · 1.09 KB

Summary

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)

Running Native Locally

cargo run

Run Web Locally

Important

You need to have trunk installed to run the web ui locally (install docs here). Compiling from source:

cargo install trunk --locked

You will also need the rust wasm target installed, using rustup:

rustup target add wasm32-unknown-unknown
trunk serve

Then go to http://localhost:8080/#dev in your browser (/#dev is important to force not loading a stale cached version).