|
 |
On 2026-05-09 09:36, ingo wrote:
> On 2026-05-08 21:45, Bald Eagle wrote:
in addition, another interesting one to convert is a "bezier style"
version of the CatmullRom spline. The handles work just like in bezier.
The reason I thought of this is you mentioning the "natural cubic"
https://sites.millersville.edu/rbuchanan/math375/CubicSpline.pdf
This is comparable to Akime curves. A system is set up to define a the
tangents at the endpoints (tridiagonal) of a curve segment. Using these
and the Hermite curve matrix, the whole thing is resolved.
You can convert any Hermite slopes based curve (natural cubic, monotone,
Akima, etc.) to Catmull-Rom "Bezier-style" 4-point form.
I have, excusez le mot, a half arsed attempt at code for that in Nim.
Would take a lot of time to get it going and converted to an include file.
ingo
Post a reply to this message
|
 |