this post was submitted on 07 Aug 2024
21 points (100.0% liked)
Bevy
236 readers
1 users here now
A community for discussion around the bevy game engine! https://bevyengine.org/
founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is neat. If you do look at beziers you'll run into some difficulty with offsetting them / creating parallel curves.
But you can find a solution for that with this crate: https://crates.io/crates/kurbo
And a nifty article on the topic: https://raphlinus.github.io/curves/2022/09/09/parallel-beziers.html
Thank you!
This will definitely come in handy, offsetting is quite hard. For segments it's much simpler.