Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Bezier-rs: Convert from canvas to svg for constructors

Open hannahli2010 opened this issue 3 years ago • 1 comments

Replace usage of HTML canvas with rust generated SVGs.

  • Added BezierExample and BezierExamplePane to replace Example, BezierDrawing and ExamplePane
  • Changed the related functions in the wasm code to return a String containing the corresponding SVG

Changes made for the following demos:

  • Constructor
  • Bezier Through Points

hannahli2010 avatar Sep 08 '22 21:09 hannahli2010

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b82f566
Status: ✅  Deploy successful!
Preview URL: https://0a5c129f.graphite-master.pages.dev
Branch Preview URL: https://bezier-convert-to-svg.graphite-master.pages.dev

View logs