EffectsMany AviSynth Plugin

# EffectsMany

Author V. C. Mohan
Date: Sep 9, 2006/Nov 28 2007/ Jul 27, 2008/ Feb 11, 2009

There are 35 functions in this package of special effects. These effects act on the input clip in the range of the frame numbers specified. The Audio is not affected. A brief description of these functions are in the synopsis. Links are provided to transfer to the full description pages.

The first three parameters are identical for all the functions. These are
1. Clip
2. Effect Start Frame Number sf defaults to first frame of clip
3. Effect End Frame Number ef defaults to last frame of clip

Some effects if used one after other can give unexpected interesting results. Try DiscoLights and then FiguredGlass. You may see shreds of paper flying! The fireworks, water, waves, underwater, ripples and bubbles functions require about 4 sec or more(may be few minutes) of input frames for good visualization.

Some of the effects sound similar eg: underwater & water, distort & distorter, ripple & ripples. But these effects are created using different principles and output will also look different.

Synopsis of EffectsMany plugin functions
EffectBalloon: This function creates a balloon of desired color and opacity and which hops.
EffectBinoculars: This creates twin circular discs with identical magnified image from an area situated midway between the discs.The center can be moved linearly during the effect.
EffectBubbles creates soap bubbles in myriad colors emanating at selected point, that travel in different paths and speeds.
EffectConez: The image is wrapped over either a vertical or a horizontal cone, top and base diameters of which can be specified. The image is either fully wrapped from start to end or progressively the cone takes shape.
EffectDiscoLights: Multicolored light spots flash and move over the image. Parameters control the size, direction, type and speed of movement of light spots.
EffectDistort: This function distorts the image. The distortion can be either vertical or horizontal.
EffectDistorter: This function distorts the image. The distortion area, its dimensions etc can be defined.
EffectFiguredGlass: number of circular discs with image inside distorted spherically giving impression of looking through a figured glass.
EffectFireWorks1: This function generates multi colored light beams in parabolic trajectories from given x and y coordinates.
EffectFire: This function generates a fire at given x level.
EffectFlashes: During the first seconds generates smoke filled area.Thereafter a series of light flashes occur in the smoke filled portion. This effect resembles Aireal flashing fire works.
EffectFlowerpot: This function generates multi colored glowing embers in parabolic trajectories from given point, resembling Flower Pot Fire Works (as popularly known in India).
EffectFog: Creates fog on the image
EffectLens: A circular area is magnified with uniform magnification or with magnification varying from center to edge. The center of the disc can be linearly varied during the effect..
EffectLineMagnifier: Magnifies either a vertical or Horizontal strip of image. The magnifier can be moved across image.
EffectPlasma: This function generates a plasma of colors in an area of image.
EffectRain: Adds rain to the image. The rain can be light, medium, heavy, increasing from light to heavy or decrease from heavy to light. The color of rain, their opacity can be specified. The direction of rain fall can be varied during the effect.
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 in the range. Left and right cut off of rainbow display can be specified and varied during effect.
EffectRipple:
EffectRipples:
EffectRipples2: In these 3 functions a ripple is created over the image centered at the specified coordinates and growing up. The EffectRipple is created by an entirely different method. EffectRipples2 has fewer restrictions but may then run slower.
EffectRockets: This function generates rocket fire works firing off at regular intervals and displays the glowing embers.
EffectRotation: Rotates the image or part of it with given radius through given angle. Can be used to rotate scanned images or as an effect.
EffectSnowFlakes: creates big or small size snow flakes that drift in wind and fall down. The dense (ness) of snow, drift %age, the falling speed (%age) and whether big or small flakes can be opted.
EffectSnowStorm: Swirling white particles of snow are created on the image. The snow can be either light, medium or heavy or increase from light to heavy or decrease from heavy to light.
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.
EffectSpotLight: This function illuminates a specified circular disc area. The illumination (color and strength) can be specified and remains constant. The spot center moves during effect.
EffectStream: This function creates the effect of a flowing water stream across the image. The stream flow can be either vertical or horizontal. Freq of flow, Stream breadth, wavelength, axis (stream axis) coordinate are the parameters.
EffectSunFlower: This function generates radially expanding colored light beams in the sky and which finally fall back as in the fireworks.
EffectSwirl: Swirls the image centered at the specified coordinates and up to a given maximum radius. The swirl starts from zero and increases to full in the first 1/3 of frames, remains at this size for the next 1/3 and reduces to zero in the last 1/3 length of clip.
EffectTreasureHunt: The image is scanned or fully processed using the code and sieve parameters to bring out hidden features. This is just for fun.
On a clip a old TV set type image is created from a second clip. Only RGB formats.
EffectUnderWater: This function creates the effect of the image floating on a pool of water. Slowness of sashay, number of cells and wave height as %age of cell dimension are the parameters.
EffectWater: This function creates the effect of the image floating on a pool of water. Wavelength, speed of water waves, area of pool can be specified. This function outputs are more pleasing than EffectUnderwater.
EffectWaves: This function creates the effect of the image floating on a pool of water in which water waves travel from the specified direction.
A script to glance at all the effects is as below:

    loadPlugin ("..............\EffectsMany.dll")

    #BlankClip(length=300,height=288, width=360, color=$ffffff)

    version()

    #ConvertToRGB32(last)
    #ConvertToYV12(last)
    #ConvertToYUY2(last)	# not all effects work in this format

    stackVertical(last,last)
    stackVertical(last,last,last)
    stackHorizontal(last,last)
    l=trim(0,199)
    trim(0,99)
    a=trim(0,29)

    bin=EffectBinoculars(radius=60,magx=4,sx=160,sy=64,ex=600,ey=400).subtitle("EffectBinoculars",text_color=$FFFF00,align=5,size=24)

    bal= EffectBalloon(color=$7f,opacity=20, light="north",refl=10,rise=300)
    bal= EffectBalloon(bal,10,55,sx=700, fx= 100,nhops = 4, color=$7f,opacity=30,light="south",refl=20,rise=200)
    bal= EffectBalloon(bal,15,60, color=$7f,opacity=40,light="east",refl=30,rise=100)
    bal= EffectBalloon(bal,20,65, color=$4f002f,opacity=50,light="west",refl=40)
    bal= EffectBalloon(bal,25,70, color=$4f002f,opacity=60,light="ne",refl=50)
    bal= EffectBalloon(bal,30,80, color=$7f00,opacity=50,light="se",refl=10)
    bal= EffectBalloon(bal,35,85, color=$7f00,opacity=50,light="nw",refl=20)
    bal= EffectBalloon(bal,40,90, color=$7f0000,opacity=50,light="sw",refl=40,nhops=3)
    bal= EffectBalloon(bal,45,95, color=$7f0000,opacity=70,light="front",refl=50,nhops=2).subtitle("EffectBalloon",text_color=$FFFF00,align=5,size=24)

    bub= EffectBubbles(srcx=20,srcy=400,farx=700, floory=420,rise=300,color=true)
    bub= EffectBubbles(bub,srcx=700,srcy=400,farx=70, floory=420,rise=300,color=false).subtitle("EffectBubbles",text_color=$FFFF00,align=5,size=24)

    cone= EffectConez(type="hor" ,base =120, top =20, shade=50,bkgrnd=true)
    cone= EffectConez (cone,type="ver",base= 240, top =40, prog=true, shade=-50, bkgrnd=true).subtitle("EffectConez",text_color=$FFFF00,align=5,size=24)

    dsl= EffectDiscoLights(a).subtitle("EffectDiscoLights",text_color=$FFFF00,align=5,size=24).subtitle("EffectDiscoLights",text_color=$FFFF00,align=5,size=24)
    dst= EffectDistort(a, dir="hor", pinch=false)
    dst= EffectDistort(dst, dir="vert", pinch=true).subtitle("EffectDistort",text_color=$FFFF00,align=5,size=24)

    distr= EffectDistorter(a,freq=4,speed=10, amp=2,eamp=8).subtitle("EffectDistorter",text_color=$FFFF00,align=5,size=24)
    fgl= EffectFiguredGlass(a).subtitle("EffectFiguredGlass",text_color=$FFFF00,align=5,size=24)
    fgl2= EffectFiguredGlass(dsl).subtitle("Effect DiscoLights plus FiguredGlass",text_color=$FFFF00,align=5,size=24)

    f1= EffectFireworks1(l,initx = 700, endx = 0, inity=400, rise=100, zoom=400)
    f1= EffectFireworks1(f1,initx=0,endx=700,inity=400, rise=600, zoom=40).subtitle("EffectFireWorks1",text_color=$FFFF00,align=5,size=24)

    fpt= EffectFlowerPot(l,initx=100,endx=700,inity=400, rise=100, zoom=400)
    fpt= EffectFlowerPot(fpt,initx=700,endx=100, inity=400, rise=400, zoom=25, color=false).subtitle("EffectFlowerPot",text_color=$FFFF00,align=5,size=24)
    fog= EffectFog( a).subtitle("EffectFog",text_color=$FFFF00,align=5,size=24)
    fls= EffectFlashes(tsmoke=2,tflash=1).subtitle("EffectFlashes",text_color=$FFFF00,align=5,size=24)
    #return (fog)
    fire= EffectFire(a, ewidth = 100, eheight = 60).subtitle("EffectFire",text_color=$FFFF00,align=5,size=24)
    lns= EffectLens(initx=650,inity=50,finalx=100,finaly=400,drop=false)
    lns= EffectLens(lns,initx=100,inity=50,finalx=650,finaly=400,drop=true).subtitle("EffectLens",text_color=$FFFF00,align=5,size=24)
    lm= EffectLineMagnifier(initxy=600,finalxy=100).subtitle("EffectLineMagnifier",text_color=$FFFF00,align=5,size=24)
    pls= EffectPlasma(ewidth=200,eheight=200).subtitle("EffectPlasma",text_color=$FFFF00,align=5,size=24)

    rn= effectRain(red=180,green=180,blue=180,vary="l2v", initop=10, finop=50)
    rn= effectRain(rn,red=180,green=180,blue=180,vary="v2r", initop=10, finop=50).subtitle("EffectRain",text_color=$FFFF00,align=5,size=24)

    rnb= effectRainbow(xleft=20, xright=300,endxleft=220, endxright=700).subtitle("EffectRainbow",text_color=$FFFF00,align=5,size=24)
    rpls= EffectRipples(speed=2,lambda=80).subtitle("EffectRipples",text_color=$FFFF00,align=5,size=24)
    rpls2 = EffectRipples2(speed=8,lambda=80,xcoord=0, ycoord=0,leftx=0,eleftx = 100, rightx = 300, erightx = 600, amp=12 ).subtitle("EffectRipples2",text_color=$FFFF00,align=5,size=24)
    rkt= EffectRockets(leftx=0,rightx=700, life=2, interval=1).subtitle("EffectRockets",text_color=$FFFF00,align=5,size=24)
    rot= effectRotation(a,ir=200,fd=-350, cc=-1)
    rot= effectRotation(rot,ir=200,fr=300,fd=350, cc=-1).subtitle("EffectRotation",text_color=$FFFF00,align=5,size=24)

    snf= EffectSnowFlakes(drift=20, dense=60,fall=80, big=true)
    snf= EffectSnowFlakes(drift=40, dense=80,fall=60, big=false).subtitle("EffectSnowFlakes",text_color=$FFFF00,align=5,size=24)
    sns = EffectSnowStorm(a,type = "inc").subtitle("EffectSnowStorm",text_color=$FFFF00,align=5,size=24)
    sprk= EffectSparkler(startx=1, endx=700, starty=220,endy=420)
    sprk= EffectSparkler(sprk,2, startx=1, endx=700, starty=220,endy=420)
    sprk= EffectSparkler(sprk,4, startx=1, endx=700, starty=220,endy=420).subtitle("EffectSparkler",text_color=$FFFF00,align=5,size=24)

    spl= effectSpotlight(lumen=$7f7f00, finalx = 560, finaly = 360).subtitle("EffectSpotLight",text_color=$FFFF00,align=5,size=24)
    str= EffectStream(dir="hor", breadth = 360).subtitle("EffectStream",text_color=$FFFF00,align=5,size=24)

    sflw= EffectSunFlower(l).subtitle("EffectSunflower",text_color=$FFFF00,align=5,size=24)

    swrl= EffectSwirl().subtitle("EffectSwirl",text_color=$FFFF00,align=5,size=24)
    TVlook = EffectTVlook(last,last,hq = false,lx = 460, ln=104, ty = 350,elx=0,ety = 0, eln = 1020,cab = $3f1f1f,col = $1f1f3f)
    TVLook = subtitle(TVLook,"EffectTVLook",text_color=$FFFF00,align=5,size=24)

    uw= EffectUnderWater(slow=1,cells=16,amp=100).subtitle("EffectUnderWater",text_color=$FFFF00,align=5,size=24)

    wtr= EffectWater(l,speed = 10, lambda = 80, amp = 20,xcoord=100, ycoord=0,ex=400, ey=200,width = 400 ).subtitle("EffectWater",text_color=$FFFF00,align=5,size=24)
    wav= EffectWaves(l,width=300,height=200,ewidth=600, eheight = 400, dir="ne")
    wav= EffectWaves(wav,width=300,height=200,ewidth=600, eheight = 400, dir="se").subtitle("EffectWaves",text_color=$FFFF00,align=5,size=24)

    bin + bal+ bub+cone+dsl+dst+distr+fgl+fgl2+f1+fpt+fls+fire+fog+lns+lm+pls+rn+rnb+rpls+rpls2+rkt+rot+snf+sns+spl+sprk+str+sflw+swrl+TVLook+uw+Wtr+wav

Back to vcmohan's plugins index |  |
| down load EffectsMany plugin |
|  | back to Avisynth home page