Forum Replies Created

Page 2 of 2
  • Fahd Chishty

    January 13, 2015 at 5:17 am in reply to: How to give text a cut in half effect?

    A simple way to achieve this would be to
    i. recompose your text
    ii. apply a rectangular mask on half of that layer (with one side of the rectangle being exactly on the line where your knife will move)
    iii. duplicate the layer and invert its mask
    iv. Move the layers up and down as you want 🙂

    Hope that helps

    “I barely know what I know. How can I then know what I do not know?” –Rumi

  • Fahd Chishty

    January 13, 2015 at 5:15 am in reply to: How to give text a cut in half effect?

    A simple way to achieve this would be to
    i. recompose your text
    ii. apply a rectangular mask on half of that layer (with one side of the rectangle being exactly on the line where your knife will move)
    iii. duplicate the layer and invert its mask
    iv. Move the layers up and down as you want 🙂

    Hope that helps

  • Fahd Chishty

    January 7, 2015 at 2:48 pm in reply to: Animate bulge warp along path

    Use Effects>Distort>Magnify

  • Fahd Chishty

    January 7, 2015 at 2:35 pm in reply to: One text layer to change text in multiple layer

    The code above needed some enhancements and tweaking for working right.

    I am putting the modified code here for any who might need it 🙂

    charNum = 1; //The index of word which you want to take
    myLayer=thisComp.layer("Change Text Here");
    totChars=myLayer.text.sourceText.value.length; //Total Number of characters in the sentence (excluding \r)
    totWords=getWords(myLayer); //Number of words there are in the sentence
    //defining other variables
    cont=true;
    count=0;
    i=0;
    j=0;
    fJ=0;
    txt=[];

    while(cont && i=charNum)
    {
    cont=false;
    break;
    }
    }
    txt[j]=myLayer.text.sourceText[i];
    i++;
    j++;

    }
    fJ;
    txt.splice(fJ, (txt.length-fJ));
    txt.join("");

    function getWords(layer)
    {
    x=0;
    y=0;
    while (x<totChars)
    {
    if (layer.text.sourceText[x]=="\r")
    {y++;}
    x++;
    }
    return y+1;
    }

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy