Smoothable animations (Bozza)

A smoothable [JSup Animations|animation] can produce fluid graphic effect (such as movement, appearing/disapearing, etc.) with discrete changes of the expression that define the [JSup Animations|animation] state.
With a fluid animation, for example, a boolean state can produce a fluid animation between two states.

A smoothable [JSup Animations|animation] is [JSup Delayable animation|delayable] also.

Smooth parameters

These parameters define how the transition from a state to another is performed:

  • Smooth speed: expressed in some UM/s (for example %/s for an [JSup Opacity animation|Opacity animation], pixel/s for an [JSup Horizontal move animation|Horizontal move animation], °/s for a [JSup Rotation animation|Rotation animation]) define how quickly the transitions will occur. Zero means no smooth (transitions will be performed instantly.
  • Curve: the speed factor when the transition start, and the divisor when the transition ends.
    • a value of 1 means that the transition will be uniform (constant speed);
    • a value greater than 1 means that the transition starts faster and ends slower;
    • a value less than 1 means that the transition starts slower and ends faster.
  • Max delta: for some animation define the maximum transition distance that will be performed in a fluid way. Transitions grater than this value will be performed instantly.