A really simple question - how does it work? Linear interpolation is quite easy and understandable:
for (i = 0; i < N; i++)
{
X = ((A * i) + (B * (N - i))) / N;
}
But how does it work with more than two point? I want to make it as smooth as possible.
EDIT:
I suppose i didn't describe the situation enough, or i just don't fully understand. I need to figure this out, so that i can get n numbers between each of 2..k nodes. At start I just interpolated between each pair, but the result wasn't fluid enough to use with animation.