TransRipples
Gradually increasing water ripples cover fully the Left Clip
by one third of overlap length. Thereafter the Right Clip merges during another
third of overlap length.The ripples subside during last one third of overlap. The
wave length lambda and wave amplitude may be specified. Location of
ripples centers and the number of ripples (1, to 4) may be denoted. Two
types of merging of frames can be opted.
Custom coordinates of ripples centers can also be specified in place of presets.
The speed of spreading of ripple over the frame can be specified. Lowest is 2 where
the ripple spreads in half the number of overlapping frames, to a value overlap/3.
RGB32, RGB24 YV12 and YUY2 colorspaces only are supported.
Details of parameters
| Description |
Name |
Type |
Limits |
Default |
| Left clip |
|
clip |
|
none |
| Right clip |
|
clip |
|
none |
| Overlapping frames or seconds time |
overlap |
integer |
not more than clip length , >2 frames. If -ve taken as time in seconds |
none |
| Wave length |
lambda |
integer |
8 to 1/8 of frame diagonal |
diagonal/16 |
| Wave amplitude |
amp |
integer |
between 2 and lambda/2 |
lambda/4 |
| number of ripples |
nrip |
integer |
1 to 4 |
1 |
| Location of center(s) of ripple(s) |
origin |
string |
for nrip = 1 "center", "ne", "se", "nw", "sw", "custom"
for nrip = 2 "ns", "nesw", "nwse", "ew", "custom"
for nrip = 3 "custom"
for nrip = 4 "corners","nsew", "custom" |
"center" |
| option for type of clip emergence |
opt |
int |
1 for dissolve type, 2 for checkers 3 for closing sides |
1 |
| custom ripple1 xcoord |
x1 |
integer |
in frame |
width/4 |
| custom ripple1 ycoord |
y1 |
integer |
in frame |
height/2 |
| custom ripple2 xcoord |
x2 |
integer |
in frame |
width/2 |
| custom ripple2 ycoord |
y2 |
integer |
in frame |
height/4 |
| custom ripple3 xcoord |
x3 |
integer |
in frame |
3 * width/4 |
| custom ripple3 ycoord |
y3 |
integer |
in frame |
height/2 |
| custom ripple4 xcoord |
x4 |
integer |
in frame |
width/2 |
| custom ripple4 ycoord |
y4 |
integer |
in frame |
3 * height/4 |
| spreading speed of ripple |
speed |
float |
2 to overlapping frames / 3 |
3 |
#Usage examples:-
TransRipples(left,right,-4,origin = "center")
last ++ TransRipples(left,right,time,origin = "center",amp = 8, lambda =16,speed = 2)
last ++ TransRipples(left,right,time,origin = "center",amp = 16, lambda = 32,speed = 2.4)
last ++ TransRipples(left,right,time,origin = "se", lambda =64, speed = 4)
last ++ TransRipples(left,right,time,origin = "ne", lambda = 48, speed = 5)
last ++ TransRipples(left,right,time,origin = "nw" , opt = 3,speed = 6)
Images during transition :Default parameters