Animations.AnimationType
Animation{T}

An Animation that contains a Vector of Keyframes and a Vector of Easings

Animations.AnimationMethod
Animation(kfs::Vector{Keyframe{T}}, easing::Easing) where T

Create an Animation from a Vector of Keyframes and one Easing that is repeated for every pair of keyframes.

Animations.AnimationTaskType
AnimationTask

A thin wrapper around a Task together with an interrupt_switch that signals the animation loop to exit.

Animations.EasedEasingType

Mixes two easings with a factor decided with a third easing, so that final = (1 - easing()) * e1 + easing() * e2

Animations.MixedEasingType

Mixes two easings with a constant ratio r, so that final = e1 * r + e2 * (1 - r)

Animations.animate_asyncMethod
animate_async(f::Function, anims::FiniteLengthAnimation...; duration::Real, fps::Int = 30)

Start an asynchronous animation where in each frame f is called with the current animation time as well as the current value of each Animation in anims.

Returns an AnimationTask which can be stopped with stop(animationtask).

Example:

animate_async(anim1, anim2) do t, a1, a2
    # do something (e.g. with a plot or other visual object)
end
Animations.stopMethod
stop(at::AnimationTask)

Stop a running AnimationTask. This only sets a flag for the animation loop to exit, it won't kill a task that is stuck. You can manipulate the Task stored in the AnimationTask directly if you need more control.