Graphite/website
Elbert Ronnie beb88d280c
Bezier-rs: Add calculations for area and centroid of subpaths (#1729)
* add code to calculate area and centroid of subpath

* change library to poly_it

* add a demo of area and centroid

* modify algorithm to consider negetive area as positive

* add code for manipulating polynomials in bezier-rs

* remove `poly_it` dependency and use custom Polynomial

* formatting floats to skip last zero

* add debug mechanism

* collect both intersection points instead of one

* fix test and cargo fmt

* apply minimum separation filtering in self_intersection and use better endpoint filtering algorithm

* remove debug mechanism and cargo fmt

* consider the subpath as closed for intersection calculation

* add documentation for polynomial.rs

* impl display for Polynomial

* make area always positive

* add missing docs

* fix test and cargo fmt

* Naming/formatting code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2024-04-29 19:19:12 -07:00
..
content Remove editor instances concept and clean up JS interop code 2024-04-29 04:17:09 -07:00
other Bezier-rs: Add calculations for area and centroid of subpaths (#1729) 2024-04-29 19:19:12 -07:00
sass Launch the Alpha 3 release series 2024-02-29 23:47:11 -08:00
static Show off procedural generation on the website 2024-01-08 10:49:25 -08:00
templates Blog post: Looking back on 2023 and what's next 2024-01-03 08:01:34 -08:00
.eslintrc.js Move node visibility flag from NodeNetwork to DocumentNode (#1708) 2024-03-27 05:17:08 -07:00
.gitignore Revamp the Graphite website (#1265) 2023-08-10 18:37:04 -07:00
config.toml Revamp the Graphite website (#1265) 2023-08-10 18:37:04 -07:00
package-lock.json Update npm dependencies 2022-07-23 15:31:02 -07:00
package.json Update npm dependencies across the project 2024-03-09 17:59:23 -08:00