Functions Index :: A :: ArraySpline

[<< up one level]

Module:

array :: functions

Definition:

ArraySpline(string x_array, string point_curve, bool "cubic")

Description:

Returns an array with elements the spline (y value) of each respective x_array's element.

point_curve must be an array of x,y coordinates, as in Spline standard Avisynth function.

Examples:

clp = AVISource(...)

ovr = AVISource(...)

fr = "25,50,75,100"

x = "50,100,240,290"

crv = "20,30,80,240,160,120,320,70"

y = x.ArraySpline(crv, true)

anm = PolygonAnim(clp, ovr, fr, x, y)

 

[<< top]