William F Pokorny <ano### [at] anonymousorg> wrote:
> Perhaps obvious the matrix play in this thread can act as a rotational
> interpolation.
Well now that we're going there - Bezier and other splines can all be
represented as matrix multiplications.
https://blog.demofox.org/2016/03/05/matrix-form-of-bezier-curves/
https://observablehq.com/@danburzo/the-matrix-form-of-some-common-cubic-splines
I know that clipka was talking about trying to find as much common ground for
all of the primitives as possible, so that we could have as few specialized
objects/data structures as possible, so perhaps it would good to look at a lot
of the spline/interpolation code as matrix-based.
We ought to have robust and versatile matrix methods available anyway.
Also, rotational matrices tie directly into complex numbers - so maybe there's a
way to roll that in there too.
- Bald "I want it all" Eagle
Post a reply to this message
|