EffectFireworks1
EffectFireWorks1 generates multi colored light beams in parabolic
trajectories from given x and y coordinates.The height of initial rise
over the initial x and y coordinates of origin of the parabolas,
end x y coordinates, percentage zoom and the floor y value below which
the parabolas are not seen can be specified. (In
EffectFlowerPot continuity from frame to frame is maintained,
while here it is not.). Zoom if more than 100 creates impression of approaching or
if less than 100, receding from the fireworks initial position.
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 |
initial x coordinate of source |
initx |
integer |
to ensure visibilty of fireworks |
mid frame width |
Initial y coordinate of source |
inity |
integer |
ensure visibility |
frame height |
Maximum rise of fire |
rise |
integer |
reasonable value |
frame height |
Floor Y coordinate below which embers will not fall |
yfloor |
integer |
always more than y - rise |
inity |
end x coordinate of source |
endx |
integer |
to ensure visibilty of fireworks |
initx |
end y coordinate of source |
endy |
integer |
ensure visibility |
inity |
zoom %age at end. (initial is 100) |
zoom |
integer |
10 to 400 |
100 |
#Usage examples:-
EffectFireworks1(last,51,190, 0,300,300,400,400,200,50)
EffectFireworks1(last,51,190,300,yfloor=300)
EffectFireworks1(last,51,190,100,200, rise=80, zoom=300)
EffectFireworks1(last,51,190)
EffectFireworks1(last,2,240, initx=80,endx=400, inity=580, endy=30)
Image with effect :