EffectRainBow
EffectRainbow adds a rainbow to the image centered at the specified
coordinates and with a given radius. The center coordinates and radius
can be linearly varied during the effect by specifying the Final coordinates
and radius. Left and right cut off of rainbow display can be specified
and varied during effect. (these cutoffs were introduced as an user wanted these to
block the rainbow due to buildings).
RGB32, RGB24 YUY2 and YV12 color formats 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 |
radius of rainbow at start |
rad |
integer |
60 or more |
1/2 of frame height |
x coordinate of rainbow center at start |
x |
integer |
ensure rainbow part is seen |
mid frame |
y coordinate of rainbow center at start |
y |
integer |
ensure rainbow part is seen |
mid frame |
radius of rainbow at end |
endr |
integer |
60 or more |
rad |
x coordinate of rainbow center atend |
endx |
integer |
ensure rainbow part is seen |
x |
y coordinate of rainbow center at end |
endy |
integer |
ensure rainbow part is seen |
y |
x cut off, left of which rainbow will not be seen at start |
xleft |
integer |
within frame |
0 |
x cut off, right of which rainbow will not be seen at start |
xright |
integer |
more than xleft and within frame |
frame width |
x cut off, left of which rainbow will not be seen at end |
endxleft |
integer |
within frame |
xleft |
x cut off, right of which rainbow will not be seen at end |
endxright |
integer |
more than endxleft and within frame |
xright |
#Usage examples:-
EffectRainbow(last,51,150,120, 0,250,180,480,250,20,200,120,300)
EffectRainbow(last,51,150,120, x=200, endx=300)
EffectRainbow(last,51,150,rad=100, xleft=50, xright=150)
EffectRainbow(last,51,150,xleft=40, endxleft=200)
For stationary Rainbow using defaults:
EffectRainbow(last,51,151)
Image with effect :