EffectPlasma
EffectPlasma function creates a plasma of changing colors on the image.
The x and y coordinates, width and height of area in which plasma appears
can be specified and varied linearly during effect duration.(possibly
useful if a plasma was to be introduced in a photo frame and camera moves.)
Or it can be created fully covering image. The color tints displayed
can be varied by tint parameter.
RGB32, RGB24 YUY2 and YV12 formats only 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 |
Tint of colors |
tint |
integer |
0 to 255 |
40 |
Speed of color change |
speed |
integer |
1 to 25 |
4 |
start x coordinate of area center |
xcoord |
integer |
in frame |
mid frame width |
start y coordinate of bottom of area |
ycoord |
integer |
in frame |
bottom of frame |
start width of plasma |
width |
integer |
plasma must be in frame |
frame width-1 |
start height of plasma area |
height |
integer |
plasma to be in frame |
frame height-1 |
end x coordinate of plasma center |
ex |
integer |
in frame |
xcoord |
end y coordinate of bottom of plasma |
ey |
integer |
in frame |
ycoord |
end width of plasma |
ewidth |
integer |
fire must be in frame |
width |
end height of plasma area |
eheight |
integer |
fire to be in frame |
height |
#Usage examples:-
EffectPlasma(last,51,158,100, 360,225,80, 60,600,340,60,40)
EffectPlasma(last,51,158)