animate
fun animate(element: Element, duration: Double, timing: TimingFunction = org.openrndr.extra.style.TimingFunction.EASE_OUT, key: String = "", step: (Double) -> Unit)(source)
Animates element for duration seconds: step is called every frame with the progress from 0 to 1, eased by timing; an animation replaces the one of the same element and key