STRETCH_CURVE
Basic Overview
Description | Stretches the curve(s) defined in the 'CurvesNode' over the X axis by a factor defined in 'StretchNode'. You can specify the X coordinate at where the stretching begins with the 'StartNode' parameter. The stretching begins at 0 by default. The X coordinates are represented by the Sequence level in 'CurvesNode'. The Y coordinates are represented by the values of 'CurvesNode'. |
Signature | STRETCH_CURVE(CurvesNode, StretchNode [, StartNode]) |
Parameters |
|
Example
Input CurvesNode =
Project | Sequence | Value |
A | 0 | 0 |
A | 1 | 1 |
A | 2 | 1 |
A | 3 | 2 |
B | 0 | 0 |
B | 1 | 1 |
B | 2 | 2 |
This input contains 2 curves. One for project A and one for project B.
Input StretchNode =
Project | Value |
---|---|
A | 1.5 |
B | 2 |
Input StartNode =
Project | Value |
---|---|
B | 2 |
The project A will default to 0.
Output STRETCH_CURVE('CurvesNode', 'StretchNode', 'StartNode') =
Project | Sequence | Value |
---|---|---|
A | 0 | 0 |
A | 1 | 0.67 |
A | 2 | 1 |
A | 3 | 1 |
A | 4 | 1.67 |
A | 5 | 2 |
B | 0 | 0 |
B | 1 | 1 |
B | 2 | 1.33 |
B | 3 | 1.67 |
B | 4 | 2 |