function getControlPoint([sx, sy], [ex, ey], { curvature, k }) {
  const [mx, my] = [(sx + ex) / 2, (sy + ey) / 2]

  const distance = getPointDistance([sx, sy], [ex, ey])

  const targetLength = distance / curvature
  const disDived = targetLength / 2

  let [dx, dy] = [mx, my]

  do {
    dx += disDived
    dy = my - k * mx + k * dx
  } while (getPointDistance([mx, my], [dx, dy]) < targetLength)

  return [dx, dy]
}
@description Points img url
@type {String}
@default url = ''