Animation
The animator, the tween engine (tweens, timelines, manager) and the easing curves and paths that move a value over time. Learn: Animation.
Main types
Section titled “Main types”| Type | Kind | Summary |
|---|---|---|
TweenEquation | class | Easing curve that turns the elapsed part of a step into its progress. |
BackTweenEquation | class | Easing curves that move back a little before they start or go past the end before they settle. |
BounceTweenEquation | class | Easing curves that bounce, like a ball that falls and rebounds. |
CircTweenEquation | class | Easing curves along quarter circles. |
CubicTweenEquation | class | Easing curves along a power of 3. |
ElasticTweenEquation | class | Easing curves that oscillate like a spring at the start or at the end. |
ExpoTweenEquation | class | Easing curves along an exponential. |
LinearTweenEquation | class | Easing curve of constant speed. |
QuadTweenEquation | class | Easing curves along a power of 2. |
QuartTweenEquation | class | Easing curves along a power of 4. |
QuintTweenEquation | class | Easing curves along a power of 5. |
SineTweenEquation | class | Easing curves along a sine. |
Related types
Section titled “Related types”The interfaces, enums and helper classes of this family that the main types use.
| Type | Kind | Summary |
|---|---|---|
BaseTween | class | Shared state and timing of a tween and a timeline: delay, repetitions, pause, events and the advance in time. |
CatmullRomTweenPath | class | Smooth path through every waypoint of a tween, along a Catmull-Rom spline. |
ITweenPath | interface | Curve that joins the start, the waypoints and the target of a tween. |
LinearTweenPath | class | Path made of straight segments between the waypoints of a tween. |
Timeline | class | Plays tweens and other timelines one after the other or all together, as one tween. |
Tween | class | Moves one float value, read and written through a getter and a setter, to a target over a duration. |
TweenAnimator | class | Read-only float signal that a timeline of tweens moves over time, the usual way to animate a node. |
TweenEquations | class | Every easing curve of JOID as a constant, and the lookup of a curve by its name. |
TweenEvent | class | Event fired by a tween or a timeline at the start and at the end of its plays. |
TweenManager | class | Holds tweens and timelines and advances them together when you update it. |
TweenPaths | class | The paths of JOID that join the waypoints of a tween. |
