private float easeOutCubicFunction(float start, float end, float value) { value--; end -= start; return end * (value * value * value + 1) + start; }