3 ms·
Very neat. I'm not sure if I missed it, but is there any way to get n equidistant points on the curve? E.g. for moving an object at constant speed along the cu
by continuational 1y ago
Very neat. I'm not sure if I missed it, but is there any way to get n equidistant points on the curve?
E.g. for moving an object at constant speed along the curve.
- jamwaffles 1y agoThere is indeed: Bezier::compute_lookup_table[1]. You'll want to use a `TValueType` of `Euclidean` to get equidistant points. [1]: https://docs.rs/bezier-rs/latest/bezier_rs/struct.Bezier.html#method.compute_lookup_table https://docs.rs/bezier-rs/latest/bezier_rs/struct.Bezier.htm...