Opal::Animation::Animator
Central animation orchestrator managing tween updates per frame.
Constructors
new
SourceInstance methods
animate(name : String, from from_val : Number, to to_val : Number, duration : Time::Span = 300.milliseconds, easing : Symbol = :ease_out_cubic, now : Time::Instant = Time.instant, on_complete : Proc(Nil) | Nil = nil, &on_update : Float64 -> Nil) : self
Starts or updates a named tween animation
clear
Sourcerunning?
Sourcetweens
Source