"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const velocityPerSecond = require("./dist-es-utils-velocity-per-second.cjs");
const velocitySampleDuration = 5;
function calcGeneratorVelocity(resolveValue, t, current) {
  const prevT = Math.max(t - velocitySampleDuration, 0);
  return velocityPerSecond.velocityPerSecond(current - resolveValue(prevT), t - prevT);
}
exports.calcGeneratorVelocity = calcGeneratorVelocity;
//# sourceMappingURL=dist-es-animation-generators-utils-velocity.cjs.map
