How to use the @popmotion/easing.circIn function in @popmotion/easing

To help you get started, we’ve selected a few @popmotion/easing examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Popmotion / popmotion / packages / popmotion-pose / src / inc / lookups.ts View on Github external
export const animationLookup: {
  [key: string]: (props: { [key: string]: any }) => Action;
} = {
  tween,
  spring,
  decay,
  keyframes,
  physics
};

export const easingLookup = {
  linear: easing.linear,
  easeIn: easing.easeIn,
  easeOut: easing.easeOut,
  easeInOut: easing.easeInOut,
  circIn: easing.circIn,
  circOut: easing.circOut,
  circInOut: easing.circInOut,
  backIn: easing.backIn,
  backOut: easing.backOut,
  backInOut: easing.backInOut,
  anticipate: easing.anticipate,
};