class DumpingInterpolator implements Interpolator {
@Override
public float getInterpolation(float input) {
return (float) (1-Math.exp( -3 * input) * Math.cos(10 * input) );
}
}
class DumpingInterpolator implements Interpolator {
@Override
public float getInterpolation(float input) {
return (float) (1-Math.exp( -3 * input) * Math.cos(10 * input) );
}
}