← Back
Easing Functions
Easing.calculate_value [intermediate]Animated easing function showcase
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)