Hello,

Petr's post was good.

I had wanted to give the link:

http://en.wikipedia.org/wiki/Linear_interpolation
And yes, the "Math" module would be more appropriate.

I thought there were more references than I found today, so it exists, but far from prevalent. A few references:

http://processing.org/reference/lerp_.html
Lerp: Calculates a number between two numbers at a specific increment. The amt parameter is the amount to interpolate between [value1 and value2] where amt=0.0 returns first amount, 0.1 is very near the first amount, 0.5 is half-way in between, etc. The lerp function is convenient for creating motion along a straight path and for drawing dotted lines.

float lerp(float value1, float value2, float amt)

http://www.gamedev.net/topic/595875-lerp-function-help/
T Lerp( T& val1, T& val2, float u)

{ return (1 - u) * val1 + u * val2; }

http://answers.unity3d.com/questions...n-to-a-xy.html
"The Lerp function takes a start and end argument, and a floating point number which you can think of as being the percentage complete of the movement. Usually this argument is based on time. So at time=0.0 Lerp will return the first number, at 1.0 it will return the 2nd number, and for numbers less than 1.0 it will return some number in-between."

http://www.unifycommunity.com/wiki/i...p?title=Mathfx
static function Lerp(start : float, end : float, value : float) : float

{ return ((1.0 - value) * start) + (value * end); }

http://www.axiis.org/docs/org/axiis/...caleUtils.html
lerp () method

public static function lerp(pct:Number, min:Number, max:Number):Number

Performs linear interpolation, finding the value that is pct percent between min and max.

Parameters percent:Number; min:Number; max:Number

Returns: Number

Example: To put 7 points evenly spaced from .3 to .9 along the x-axis:

For i = 0 to 6
TBGL_Point lerp(.3, .9, i/6), 0, 0
next i

And Eros has the important point, "it's important to find a correct function name". As shown above, "Lerp" is used, but I don't know if there would be any conflicts with other usage.

Thanks for your consideration, Dave

[Wow, I just noticed that the axiis.org reference has the parameters in a different order. That's not good.]