public static double QuintEaseOut(double t, double b, double c, double d) { return c * ((t = t / d - 1) * t * t * t * t + 1) + b; }