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