animation-segment

xod/core/animation-segment

Animates a number making it run from one boundary to another with the given rate.
animation-segment
@/animation-segment
Animates a number making it run from one boundary to another with the given rate.
FROMnumber
The starting value of `OUT` in the animation.
TOnumber
The final value of `OUT` in the animation.
RATEnumber
Defines the animation speed: amount of `OUT` change per second
REVpulse
Quickly rewind `OUT` to `FROM` and stop the animation
PLAYpulse
Set `OUT` to `FROM` and start animation. If the animation is in progress already it is cancelled, the new one is started.
FWDpulse
Quickly forward `OUT` to `TO` and stop the animation.
animation-segment
OUT
ACT
DONE
FROM
TO
RATE
REV
PLAY
FWD
DONEpulse
Pulses when the animation completes, that is the `OUT` value reaches the end. The pulse is not emitted when the animation is stopped with `REV` or `FWD`.
ACTboolean
Active. Outputs whether the animation is in progress.
OUTnumber
The current value of number animation.