EffectWater
The image sashays as if in a pool of water. This is better formulated
than EffectUnderWater. The wave
amplitude, speed of variation, center of pool, its dimensions can be
selected and also varied linearly. The parameters wavelength lambda and
speed though operate differently, the final effect appears similar with
subtle differences. Due to movement at the edges image may appear twice.
This can be painted over.
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 |
wavelength at start |
lambda |
integer |
8 to 512 |
128 |
speed of movement at start |
speed |
float |
between 0 and 100 |
5 |
x coordinate of pool area at start |
xcoord |
integer |
within frame |
mid frame |
y coordinate of pool area at start |
ycoord |
integer |
within frame |
mid frame |
width along x axis of pool area at start |
width |
integer |
pool area must be in frame |
frame width |
height along y axis of pool area at start |
height |
integer |
pool area must be in frame |
frame height |
x coordinate of pool area at end |
ex |
integer |
within frame |
xcoord |
y coordinate of pool area at end |
ey |
integer |
within frame |
ycoord |
width along x axis of pool area at end |
ewidth |
integer |
pool area must be in frame |
width |
height along y axis of distorted area at end |
eheight |
integer |
pool area must be in frame |
height |
speed at end |
espeed |
float |
between 0 and 100 |
speed |
paint repeating edges? |
paint |
boolean |
true for yes, false for no |
false |
color to paint repeating edges |
color |
integer |
rrggbb format |
0x50ff |
wave amplitude at start |
amp |
integer |
1 to 100 |
40 |
wave amplitude at end |
eamp |
integer |
1 to 100 |
amp |
#Usage examples:-
EffectDistorter(last,50, 150)
EffectDistorter (last,50, 150, freq=20)
EffectDistorter (last,50, 150,espeed=10)
EffectDistorter (last,50, 150,amp=1, eamp=8)
Image with effect :