inSine static method

double inSine(
  1. double x
)

Implementation

static double inSine(double x) => 1 - cos((x * pi) * 0.5);