EffectSunflower
EffectSunflower generates radially expanding (from given x and y
coordinates), colored light spots as in the Sunflower fireworks.. The radius
to which the beams grow, whether beams are colored or white can be specified.
Due to gravitation effect, some of the beams may fall back well before
the max radius is attained, while some may travel more than radius,
depending upon number of frames in the effect and fps of the clip.
Sufficent number of frames must be included in this effect to be properly visualised..
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 |
x coordinate of the sunflower center |
x |
integer |
ensure atleast a part is seen |
mid frame |
y coordinate of the sunflower center |
y |
integer |
ensure a part is atleast seen |
mid frame |
maximum radius of flower |
radius |
integer |
not more than frame diagonal |
1/2 of diagonal |
are flower petals colored or white? |
color |
boolean |
true for colored, false for white |
true |
#Usage examples:-
EffectSunflower(last,51,190,280,200,300, false)
EffectSunflower(last,51,190)
EffectSunflower(last,51,190, radius=150, color=false)
Image with effect :