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
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.For example:
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.