import "../motion-utils/dist-es-errors.js";
import { progress } from "../motion-utils/dist-es-progress.js";
const generateLinearEasing = (easing, duration, resolution = 10) => {
  let points = "";
  const numPoints = Math.max(Math.round(duration / resolution), 2);
  for (let i = 0; i < numPoints; i++) {
    points += easing(progress(0, numPoints - 1, i)) + ", ";
  }
  return `linear(${points.substring(0, points.length - 2)})`;
};
export {
  generateLinearEasing
};
//# sourceMappingURL=dist-es-animation-waapi-utils-linear.js.map
