Limit: What to do if interpolation amount exceeds 0..1 range
clamp: lock to A & B (inclusive) Default.
wrap: wrap from end to start again
ignore: allow return values outside of A..B range
Easing: name of easing function for non-linear interpolation
Transform: name of function to transform amount prior to interpolate. This is useful for creating non-linear interpolation results.
In the above example, the results would get more random over time.
interpolatorInterval will still step through the interpolation range of 0..1 in an orderly fashion, but we're transforming that range using a custom function before producing the result.
Interpolation options.
Limit: What to do if interpolation amount exceeds 0..1 range clamp: lock to A & B (inclusive) Default. wrap: wrap from end to start again ignore: allow return values outside of A..B range
Easing: name of easing function for non-linear interpolation
Transform: name of function to transform
amountprior to interpolate. This is useful for creating non-linear interpolation results.For example:
In the above example, the results would get more random over time.
interpolatorIntervalwill still step through the interpolation range of 0..1 in an orderly fashion, but we're transforming that range using a custom function before producing the result.