num easeInSine(num ratio)

Source

static num easeInSine(num ratio) {
  return 1.0 - cos(ratio * (PI / 2.0));
}