import { velocityPerSecond } from "./dist-es-utils-velocity-per-second.js";
const velocitySampleDuration = 5;
function calcGeneratorVelocity(resolveValue, t, current) {
  const prevT = Math.max(t - velocitySampleDuration, 0);
  return velocityPerSecond(current - resolveValue(prevT), t - prevT);
}
export {
  calcGeneratorVelocity
};
//# sourceMappingURL=dist-es-animation-generators-utils-velocity.js.map
