Exemplo n.º 1
0
 public static double BounceEaseInOut(double t, double b, double c, double d)
 {
     if (t < d / 2.0)
     {
         return(DoubleEasing.BounceEaseIn(t * 2.0, 0.0, c, d) * 0.5 + b);
     }
     return(DoubleEasing.BounceEaseOut(t * 2.0 - d, 0.0, c, d) * 0.5 + c * 0.5 + b);
 }
Exemplo n.º 2
0
 public static double BackEaseOutIn(double t, double b, double c, double d)
 {
     if (t < d / 2.0)
     {
         return(DoubleEasing.BackEaseOut(t * 2.0, b, c / 2.0, d));
     }
     return(DoubleEasing.BackEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d));
 }
Exemplo n.º 3
0
 public static double BounceEaseIn(double t, double b, double c, double d)
 {
     return(c - DoubleEasing.BounceEaseOut(d - t, 0.0, c, d) + b);
 }