EffectRipples
On the image in a pool area ripples are created. This is differently
formulated than EffectRipple,
and has a more pleasing liquid effect. The wave
speed, amplitude, pool area center and its dimensions can be selected
and also varied linearly. Ripples must always form from center of pool.
This restriction are for speed of rendering. Please see
EffectRipples2
for fewer restrictions, but may run slower.
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 of ripples |
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 |
in frame |
mid frame |
y coordinate of pool center at start |
ycoord |
integer |
in frame |
mid frame |
width(along x) of pool at start |
width |
integer |
pool to remain in frame, atleast 8 times wave amplitude |
frame width |
height(along y) of pool at start |
height |
integer |
pool to remain in frame, atleast 8 times wave amplitude |
frame height |
x coordinate of pool center at end |
ex |
integer |
in frame |
xcoord |
y coordinate of pool center at end |
ycoord |
integer |
in frame |
ycoord |
width(along x) of pool at end |
ewidth |
integer |
pool to remain in frame, atleast 8 times wave end amplitude |
width |
height(along y) of pool at end |
eheight |
integer |
pool to remain in frame, atleast 8 times wave end amplitude |
height |
wave speed at end |
espeed |
float |
0 to 100 |
speed |
amplitude of wave at start |
amp |
integer |
1 to 16 |
4 |
amplitude of wave at end |
eamp |
integer |
1 to 16 |
amp |
ripples grow from start to this %age of total frames |
if |
integer |
0 to 100 |
33 |
ripples subside from this %age of total frames to end |
df |
integer |
if to 100 |
67 |
#Usage examples:-
EffectRipples(last,50, 150)
EffectRipples (last,50, 150, freq=20)
EffectRipples (last,50, 150,espeed=10)
EffectRipples (last,50, 150,amp=1, eamp=8)
Image with effect :