Twirl
Function
This creates a whirlpool-like effect. It's fun.
Parameters
|
Type
|
Defaults
|
Function
|
startAngle |
float
|
0 | The amound of twirl near the Center of the rotation |
endAngle |
float
|
0 | The amount of twirl away from the Center. |
aspectRatio |
float
|
1 | The aspectRatio of the image. Useful when you are working with a Global aspectRatio and anamorphic frames and you are doing a rotation. |
x,yCenter |
float
|
width/2, height/2 | Center of the twirl. |
x,yRadius |
float
|
width/2, width/2 | Radius of the twirl circle. |
bias |
float
|
1 |
Controls how much of the twist occurs between the center and the Radius. 0 means the outer Radius is not rotated, 1 means the center is not rotated. |
antialiasing |
float
|
1 | Anti-aliasing on the effect. |
Synopsis
image Twirl( image, float startAngle, float endAngle, float aspectRatio, float xCenter, float yCenter, float xRadius, float yRadius, float bias, float antialiasing );
Script
image = Twirl( image, startAngle, endAngle, aspectRatio, xCenter, yCenter, xRadius, yRadius, bias, antialiasing );
Command Line
shake -twirl startAngle endAngle aspectRatio etc....