inOutSine static method

double inOutSine(
  1. double x
)

Implementation

static double inOutSine(double x) => -(cos(pi * x) - 1) / 2;