On 1/29/25 10:51, Tor Olav Kristensen wrote: > #macro CubicBezierFn(c0, c1, c2, c3) > > function(s) { > 0 > + pow(1 - s, 3)*c0 > + 3*pow(1 - s, 2)*s*c1 > + 3*(1 - s)*pow(s, 2)*c2 > + pow(s, 3)*c3 > } > > #end // macro CubicBezierFn Perhaps time to add an inbuilt f_bezier_cubic() to yuqk too. :-) Bill P.
Post a reply to this message