EffectSwirl
EffectSwirl swirls the image centered at the specified coordinates and
up to a given maximum radius. The swirl starts from zero, increases to
full size to full in the first 1/3 of frames, remains at this size for
the next 1/3 and reduces to zero in the last 1/3 length of effect. Step
gives control of the fineness of the detail. The finer the step the slower
is processing.
RGB32, RGB24, YUY2 and YV12 color formats only are supported at this time.
Details of parameters
Description |
Name |
Type |
Limits |
Default |
clip |
|
clip |
|
none |
Effect start frame number |
sf |
Integer |
within clip |
first frame |
Effect end frame number |
ef |
Integer |
within clip |
last frame |
direction of swirl |
dir |
string |
"clock" or "anti" |
"clock" |
maximum radius of swirl |
rmax |
integer |
8 or more |
1/2 of diagonal |
coarseness step of swirl |
step |
integer |
4 to 64 |
8 |
x coordinate of the swirl center |
x |
integer |
in frame |
mid frame |
y coordinate of the swirl center |
y |
integer |
in frame |
mid frame |
#Usage examples:-
Effectswirl(last,51,150, "anti",120, 12,160,200)
#For frame centered full radius using defaults :
EffectSwirl(last,51,150)
#Other:
EffectSwirl(last,51,150, step=4)
EffectSwirl(last,51,150,rmax=100,x=120)
Image with effect :