Graphite/website/other/bezier-rs-demos
Dennis Kobert 9a62c1c089
Fix Poisson-disk sampling with negative space from nested subpaths (#2569)
* Fix poisson disk sampling with nested subpaths

Previously all subpaths were considered independently for the poisson disk sampling evaluation. We now check agains all subpaths which might contain the point to fix shapes with holes such as fonts with letters with holes in them

* Fix wasm demo

* Fix counting overlapping areas twice

* Rename shape variables to subpath variants
2025-04-15 13:37:20 +00:00
..
public Simplify the Bezier-rs interactive web demo code (#2020) 2024-10-03 17:20:50 -07:00
src Bezier-rs: Add method to check subpath insideness (#2183) 2025-01-10 00:37:40 -08:00
wasm Fix Poisson-disk sampling with negative space from nested subpaths (#2569) 2025-04-15 13:37:20 +00:00
.eslintrc.cjs Upgrade web dependencies 2024-09-24 01:33:12 -07:00
.gitignore Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
.prettierrc Fix Bezier-rs interactive demos and migrate its Webpack bundler to Vite 2024-01-04 23:13:40 -08:00
README.md Fix, document, and update npm dependencies and tooling; fix Bezier-rs demos not building (#1857) 2024-07-24 18:05:01 -07:00
index.html Revamp the website 2024-08-17 18:54:15 -07:00
package-installer.js Clean up web code errors and make CI enforce them 2024-09-24 01:33:02 -07:00
package-lock.json Update dependencies throughout the project (#2401) 2025-03-07 21:32:52 -08:00
package.json Update dependencies throughout the project (#2401) 2025-03-07 21:32:52 -08:00
tsconfig.json Add drag-and-drop and copy-paste file importing/opening throughout the UI (#2012) 2024-09-28 00:19:43 -07:00
vite.config.ts Fix Bezier-rs interactive demos and migrate its Webpack bundler to Vite 2024-01-04 23:13:40 -08:00

README.md

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