Source Academy Modules
    Preparing search index...

    Function animate_anaglyph

    • Create an animation of anaglyph 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