• Create an animation of runes

    Parameters

    • duration: number

      Duration of the entire animation in seconds

    • fps: number

      Duration of each frame in frames per seconds

    • func: RuneAnimation

      Takes in the timestamp and returns a Rune to draw

    Returns AnimatedRune

    A rune animation