EffectWaves
On the image water waves are created. The direction of movement of waves
is an option. The speed, amplitude, pool area center and its dimensions
can be specified and also varied linearly. The wavelength (lambda) can be
specified but will remain same during effect. .
RGB32, RGB24, YUY2 and YV12 formats are supported.
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 |
wave length |
lambda |
integer |
1 to 250 |
40 |
wave speed at start |
speed |
float |
0 to 100 |
5 |
x coordinate of pool center at start |
xcoord |
integer |
none |
mid frame |
y coordinate of pool center at start |
ycoord |
integer |
none |
mid frame |
width of pool at start |
width |
integer |
pool must be in frame |
frame width |
height of pool at start |
height |
integer |
none |
frame height |
x coordinate of pool center at end |
ex |
integer |
none |
xcoord |
y coordinate of pool center at end |
ey |
integer |
none |
ycoord |
width of pool at end |
ewidth |
integer |
pool must be in frame |
width |
height of pool at end |
eheight |
integer |
none |
height |
wave speed at end |
espeed |
float |
0 to 100 |
speed |
amplitude of wave at start |
amp |
integer |
1 to 8 |
4 |
amplitude of wave at end |
eamp |
integer |
1 to 8 |
amp |
direction of wave |
dir |
string |
"left", "right", "up", "down", "ne", "nw", "se", "sw" |
"down" |
#Usage examples:-
EffectWaves(last,50, 150, dir="sw")
EffectWaves (last,50, 150, lambda=20, height=200, width=400)
EffectWaves (last,50, 150,espeed=10, xcoord=0, ex=700)
EffectWaves (last,50, 150,amp=1, eamp=8)
Image with effect :