Files
Graphite/website/other/bezier-rs-demos
Keavon Chambers a2465f40b3 Simplify the Bezier-rs interactive web demo code (#2020)
* Change demo pane classes into simpler group functions

* Eliminate classes

* Use template strings for HTML

* Reduce files and flatten directories

* Restructuring to reduce redundant code

* Eliminate the module pattern and consolidate both demo types

* Further consolidate into main.ts
2024-10-03 17:20:50 -07:00
..
2024-09-24 01:33:12 -07:00
2024-08-17 18:54:15 -07:00
2024-09-24 01:33:12 -07:00
2024-09-24 01:33:12 -07:00

Bezier-rs interactive documentation

Open these interactive docs: https://graphite.rs/libraries/bezier-rs/

This page also serves isolated demos for iframes used in the Rustdoc crate documentation.

Building and running

Make sure Node.js (the latest LTS version) and Rust (the latest stable release) are installed on your system, and wasm-pack has been installed by running cargo install wasm-pack.

  • To run the development server with hot reloading:
    npm start
    
  • To compile an optimized production build:
    npm run build