Transform
In all the tags that was introduced prior to this, there was always a note which stated if the tag was transformable or not. Now we finally learn what transforming a tag means.
Transform tag performs a gradual, animated transformation from one set of override tags to another set. Only a limited set of the override tags can be animated by the transform tags.
The tags that can be animated are:
| General | Color | Alpha | Geometry | Clip |
|---|---|---|---|---|
| \bord | \c | \alpha | \fs | \clip |
| \xbord | \1c | \1a | \fscx | \iclip |
| \ybord | \2c | \2a | \fscy | |
| \shad | \3c | \3a | \frx | |
| \xshad | \4c | \4a | \fry | |
| \yshad | \frz | |||
| \fsp | \fax | |||
| \blur | \fay |
| Format | Description |
|---|---|
| \t(<tags>) | Animate the value of override tags <tags> |
| \t(<accel>,<tags>) | Animate the override tags non-linearly using accel parameter |
| \t(<t1>,<t2>,<tags>) | Animate the override tags from time t1 to t2 |
| \t(<t1>,<t2>,<accel>,<tags>) | Animate the override tags from time t1 to t2 non-linearly using accel parameter |
t1 and t2
t1 and t2 parameters specify the time in milliseconds. These time are relative
to the start time of the line i.e. if t1 = 1000 means the transformation
starts 1000 milliseconds after the start of the line.
These times represents interval to perform the transformation over. In the version
without t1 and t2, the transformation is performed over the entire duration of
the line.
Before t1, the appearance of the line is informed by the tag values before transform.
After t2, the appearance of the line is informed by the tag values in the transform
tag. Between t1 and t2, the tag values are animated from the initial tag values
to the final tag values.
Accel
The accel parameter can be used to make the animation non-linear and instead follow an exponential curve.
t being the current time.
An accel parameter of 1 causes the animation speed to be linear. A value between 0 and 1 causes the animation to start fast and end slow. A value greater than 1 causes the animation to start slow and end fast.