• Animator factory.

    Unpolished API, usage can be copied from Examples set but it is not further encouraged.

    Parameters

    • afterUpdate: (() => void)

      After all animation update callback

        • (): void
        • Returns void

    • fps: number = 60

      Desirable frame rate for all animations (Limited to around 60fps by browser)

    Returns ((duration?: number, easing?: AnimationEasing) => AnimationFactory)