UNPKG

popmotion

Version:

The animator's toolbox

5 lines 203 B
export var progress = function (from, to, value) { var toFromDifference = to - from; return toFromDifference === 0 ? 1 : (value - from) / toFromDifference; }; //# sourceMappingURL=progress.js.map