I'm hoping to code Bezier animation in OCaml/F# in four dimensional space time, with a moving vantage point. Offload rendering each time slice frame to worker threads.
I'm surprised Bezier-rs is all about curves. Sure, fonts, but I can't be alone here in seeing curves as a special case.
It's easy as a pure mathematician to write off Bezier theory as "specialized" but it's simply the right way to work with polynomials on a simplex.
pjmlp · 34m ago
Great example, this is the kind of stuff that we could make use of interactive documents for, and not bend them into applications.
continuational · 2h 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 · 1h ago
There is indeed: Bezier::compute_lookup_table[1]. You'll want to use a `TValueType` of `Euclidean` to get equidistant points.
I'm surprised Bezier-rs is all about curves. Sure, fonts, but I can't be alone here in seeing curves as a special case.
It's easy as a pure mathematician to write off Bezier theory as "specialized" but it's simply the right way to work with polynomials on a simplex.
E.g. for moving an object at constant speed along the curve.
[1]: https://docs.rs/bezier-rs/latest/bezier_rs/struct.Bezier.htm...