EffectSparkler
EffectSparkler generates multi colored flashing flowers around a thin
pencil like object known as the Firework Sparkler. The sparkler burns from
start to end during the range of the effect. In stead of color, white can
be opted as color of flowers. The outward radial distance of travel of the
beams till they burst out as flowers (radius) can be specified. Repeating this effect with a slight
offset in frame numbers keeping rest of parameters (excepting may be color)
same gives a good realistic effect. 4 sec or longer effect will look good.
RGB32, RGB24 YUY2 and YV12 only are supported at this time.
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 |
starting x coordinate of the sparkler |
startx |
integer |
within frame |
mid frame |
starting y coordinate of the sparkler |
starty |
integer |
within frame |
1/4 frame height |
end x coordinate of the sparkler |
endx |
integer |
within frame |
frame width/4 |
end y coordinate of the sparkler |
endy |
integer |
within frame |
1/2 frame height |
radial distance of travel |
radius |
integer |
8 to within frame |
1/16 frame height |
are sparkles colored or white? |
color |
boolean |
true for colored, false for white |
true |
#Usage examples:-
EffectSparkler(last, 2, 200, 100, 200, 600,400,100,false)
EffectSparkler(last,2,200)
EffectSparkler(last,2,200,radius=250)
EffectSparkler(last,2,299,endx=50,endy=300,color=false}
Image with effect :