module
Opal::Animation
Overview
Animation and tweening engine for smooth UI transitions and micro-interactions.
Defined in:
opal/style/animation.crClass Method Summary
- .bounce_out(t : Float64) : Float64
-
.ease(type : Symbol, t : Float64) : Float64
Resolves an easing function by symbol
- .ease_in_cubic(t : Float64) : Float64
- .ease_in_out_cubic(t : Float64) : Float64
- .ease_in_out_quad(t : Float64) : Float64
- .ease_in_quad(t : Float64) : Float64
- .ease_out_cubic(t : Float64) : Float64
- .ease_out_quad(t : Float64) : Float64
- .elastic_out(t : Float64) : Float64
-
.linear(t : Float64) : Float64
Common easing functions mapping progress t (0.0 to 1.0) to transformed values.
Class Method Detail
def self.linear(t : Float64) : Float64
#
Common easing functions mapping progress t (0.0 to 1.0) to transformed values.