EasingDirection - CoolPotato31F/Java-Graphics GitHub Wiki

EasingDirection Enum

The EasingDirection enum defines the three primary directions used in easing functions, which control the rate of change of an animation over time. These directions help determine how the animation progresses at different stages:

  • In: The function describing the interpolation will be normal.
  • Out: The function describing the interpolation will be inversed.
  • InOut: The function describing the interpolation will get shorted to the midpoint then inverted to continue to the end.