flo_curves icon indicating copy to clipboard operation
flo_curves copied to clipboard

Bezier curve library for Rust

Results 17 flo_curves issues
Sort by recently updated
recently updated
newest added

Hi! The library looks really promising but I'm having issues getting started. I'm using the Bevy game engine and I'm trying to create bezier curves so I implemented the Coordinate...

I have a feature request, if would be great if there are functions to calculate point to curve distance. Thanks!

This PR is a huge beast and I'm somewhat sorry for that. What I did is basicly running `cargo fmt` and afterwards `cargo clippy`. This will improve, at least for...

It seems buggy to me but I'm not sure I'm using it right as there seems to be no consideration of winding given in your docs.

https://github.com/Logicalshift/flo_curves/blob/ec1d7820643688e838c092fd6282ba541de47203/src/bezier/offset_scaling.rs#L154 Why is there a `|| true`? This is either a temporary fix and should be commented or it's a bug. Can you clarify this please?

You seem to have a unusual formatting in your code. I would like either to see a rustfmt.toml with your settings in this repo or (better) that you run `cargo...

I'm surprised there's no function like this: ```rust impl Coord2 { fn from_theta(theta: impl Into) -> Self { Coord2(theta.into().cos(), theta.into().sin()) } } ```

![Capture](https://user-images.githubusercontent.com/310356/109065268-53aff580-76b9-11eb-995a-e7ccab8b59fb.PNG) The purple ribs here represent the offsets. I didn't really notice this problem until I got editing going in real time. This is with modifications that correct the divide...

I'm going to be adding these features in a fork soon. As far as arc length parameterization goes I've got an approach in my own code that does things very...

![Capture](https://user-images.githubusercontent.com/310356/107597895-142dd780-6bea-11eb-87ba-081bbb09e2fc.PNG) This seems to be where the problem lies. The rays here should be identical, and yet it's finding an intersection. ![Capture](https://user-images.githubusercontent.com/310356/107598145-f614a700-6bea-11eb-8c85-ee01a8b4d0aa.PNG) Here's the local variables right after this call...