code: function dot(A,B)
  {
      return A.x * B.x + A.y * B.y;
  }
docs: /*
  function transformRange(center, transform, range)
  {
  let a = {
  x: transform.x - center.x,
  y: transform.y - center.y
  }
  let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));
  if (r > range) {
  a = {
  x: a.x / r * range + center.x,
  y: a.y / r * range + center.y
  };
  return a;
  } else {
  return transform;
  }
  }