code: function getAngle(originX, originY, projectionX, projectionY) {
    const angle = Math.atan2(projectionY - originY, projectionX - originX) * ((180) / Math.PI);
    return 360 - ((angle < 0) ? (360 + angle) : angle);
  }
docs: Calculates the angle between two points.
  
  @function getAngle
  @param {number} originX
  @param {number} originY
  @param {number} projectionX
  @param {number} projectionY
  @return {number} Angle between the two points
  @private