figureone
    Preparing search index...
    AnimationProgression: (percent: number) => number

    Animation progression function.

    As the animation time progresses, a percentage of the total animation duration will be passed to this function.

    This function then calculates and returns the percent progress of the animation.

    This function can be used to make non-linear progressions of an animation. For instance, it could be used to create a progression that is slowed at the start or end of the animation.

    Type Declaration

      • (percent: number): number
      • Parameters

        • percent: number

          percentage of duration

        Returns number

        percent of animation complete