MCPcopy Create free account
hub / github.com/bendc/animateplus / createAnimationKeyframes

Function createAnimationKeyframes

animateplus.js:228–230  ·  view source on GitHub ↗
(keyframes, index)

Source from the content-addressed store, hash-verified

226};
227
228const createAnimationKeyframes = (keyframes, index) =>
229 Object.entries(keyframes).map(([property, values]) =>
230 addPropertyKeyframes(property, computeValue(values, index)));
231
232const getCurrentValue = (from, to, easing) =>
233 from + (to - from) * easing;

Callers 1

addAnimationsFunction · 0.85

Calls 2

addPropertyKeyframesFunction · 0.85
computeValueFunction · 0.85

Tested by

no test coverage detected