easings_gleam

Easing functions for animation in pure Gleam.

Package Version Hex Docs

gleam add easings_gleam@1
import easings

pub fn main() -> Nil {
  // Compute the easing for bounce-in halfway-through the transition
  0.5
  |> easings.bounce_in()
  |> echo

  Nil
}

Further documentation can be found at https://hexdocs.pm/easings_gleam.

Development

gleam run   # Run the project
gleam test  # Run the tests
Search Document