← Back

Easing Functions

Easing.calculate_value [intermediate]

Animated easing function showcase

Easing Functions Demo

Animated easing function showcase

For the full interactive experience:

$ mix raxol.playground

Code
easing = current_easing(model)
label = easing |> to_string() |> String.replace("_", " ")
eased = Easing.calculate_value(easing, model.progress)
marker_x = round(model.progress * @plot_width)
marker_y = round(eased * @plot_height)
demo j/k prev/next / focus demo esc back 31/42 demos