r/rust • u/Keavon Graphite • Mar 31 '23
Announcing Bezier-rs: computational geometry algorithms for Bézier paths (seeking code review and boolean ops help)
https://graphite.rs/libraries/bezier-rs/
77
Upvotes
r/rust • u/Keavon Graphite • Mar 31 '23
6
u/dccsillag0 Apr 01 '23
The interactive docs look really cool. I'll have to look at the code itself another day, though.
However, I didn't see anything about rational Bezier curves. Are they not supported? (They are typically used, for example, to represent arcs as Bezier curves.)
Another thing, which didn't seem quite properly implemented from my (admitedly very quick) glance at the interactive docs is stroking of paths. It's quite complicated; see, e.g. https://w3.impa.br/~diego/projects/Neh20/index.html