kBezierFrictionFactor function

double kBezierFrictionFactor(
  1. double overscrollFraction
)

Friction factor used by bezier curves.

Implementation

double kBezierFrictionFactor(double overscrollFraction) =>
    0.4 * math.pow(1 - overscrollFraction, 2);