EasingCosine function

double EasingCosine(
  1. double t
)

Implementation

double EasingCosine(double t) => 1.0 - Math.cos(t * Math.pi / 2);