Timeline

From HEWIKI
Jump to: navigation, search
For the user interface, see: TimelineUI.

Contents

Notation

Timeline notation contains keyframes which describe a value that changes over time. Timelines usually describe one of: float values, color values, or vector values.

Keyframe

A timeline keyframe is composed of three elements, separated by colons, and surrounded by square brackets.

[A:B:C]

See also the documentation on Interpolation Curves.

An example keyframe would be:

[0.5:#0,0,0,1:L]

This keyframe has time index == 0.5, a color value of "#0,0,0,1", and an interpolation type of "Linear".

Timeline

A timeline is composed of several keyframes strung together, followed by a loop type, then a lifetime length.

[Key][Key] ... [Key]A;B

An example color timeline might look like:

[0.0:#0.0,0.0,0.0,1.0:H][0.5:#1.0,1.0,1.0,1.0:L][1.0:#0.0,0.0,0.0,1.0:L]P;1.0

This timeline, from time value [0.0,0.5), will return the color #0,0,0,1, due to the hold parameter. At time value 0.5, it will return the color #1,1,1,1. From time value [0.5,1.0] it will linearly interpolate between #1,1,1,1 to #0,0,0,1. It will take 1 second to traverse the entire timeline. When the traversal reaches the end, it is set to ping-pong, so it reverses and repeats the process backwards. When it then reaches the beginning, it reverses again, and repeats the process forwards.

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox