[Fluxus] interpolation order mixup

David Griffiths dave at pawfal.org
Wed Nov 17 02:54:48 PST 2010


On Tue, 2010-11-16 at 11:18 +0100, gabor papp wrote:
> hi all,
> 
> i find the fluxus interpolation functions are a bit illogical:
> 
> (define a #(1 2 3))
> (define b #(4 5 6))
> (vlerp a b 0) -> #(4 5 6)
> (vlerp a b 1) -> #(1 2 3)
> 
> while the expected output would be:
> (vlerp a b 0) -> #(1 2 3)
> (vlerp a b 1) -> #(4 5 6)
> 
> the same applies to (lerp), (mlerp) and (vlerp-tangent) probably.
> 
> is there any opposition against changing their behaviour to the expected 
> one?

No, looks like another twisted dave maths messup. Probably explains a
lot of (- t)'s going on in plant eyes where I was using a lot of this.

cheers,

dave


 





More information about the Fluxus mailing list