NuGet package:
double startValue = 0;
double endValue = 10;
int stepCount = 5;
IEnumerable<Double> result = DoubleInterpolator.Interpolate(stepCount, DefaultEasers.Linear, startValue, endValue);
//Expected output { 2, 4, 6, 8, 10 }
Easer functions are used to determine the rate at which a transformations value changes. The graphs below show the rate at which an interpolator affected by each easer approaches its end value over time.