num easeInOutSine(num ratio)

Source

static num easeInOutSine(num ratio) {
  ratio = ratio * 2.0;
  return (ratio < 1.0) ? 0.5 * easeInSine(ratio) : 0.5 * easeOutSine(ratio - 1.0) + 0.5;
}