Forum Replies Created

Page 1 of 6
  • Ilya Sire

    April 20, 2022 at 9:09 pm in reply to: Vegas length half Mask

    Here is the aep.

    How can I offset Vegas Rotation to draw left bottom side?

  • Ilya Sire

    March 25, 2022 at 5:06 am in reply to: Rotate Mask using Expression

    found the solution

    function rot(cx, cy, x, y, angle) {

    var radians = (Math.PI / 180) * angle;

    cos = Math.cos(radians);

    sin = Math.sin(radians);

    nx = (cos * (x - cx)) + (sin * (y - cy)) + cx;

    ny = (cos * (y - cy)) - (sin * (x - cx)) + cy;

    return [nx, ny];

    }

    myShape = mask("Mask 1").maskPath

    tgn = [[0,0],[0,0],[0,0],[0,0]];

    for (i = 0; i < myShape.points(0).length; i++) {

    p1 = myShape.points(0)[0] = anchorPoint+rot(0,0,50,0,effect("Angle Control")("Angle")) //br

    p2 = myShape.points(0)[1] = anchorPoint+rot(0,0,-50,0,effect("Angle Control")("Angle")) //bl

    p3 = myShape.points(0)[2] = anchorPoint+rot(0,0,-50,-100,effect("Angle Control")("Angle")) //tl

    p4 = myShape.points(0)[3] = anchorPoint+rot(0,0,50,-100,effect("Angle Control")("Angle")) //tr

    }

    createPath([p1,p2,p3,p4],tgn,tgn,true);

  • Ilya Sire

    February 28, 2022 at 4:00 pm in reply to: Camera zoom fit to layer width

    Thank you, I actually ask a wrong question, and I found solutions on this line zoom = (thisComp.width/w) * distance;

    😅

  • Ilya Sire

    November 28, 2021 at 9:39 pm in reply to: center text to comp using left, top, width, height?

    Ah yes, thank you.

    I use it like this, to maintain anchorPoint [0,0]

    cw = thisComp.width /2;

    ch = thisComp.height /2;

    t= sourceRectAtTime().top;

    h= sourceRectAtTime().height;

    [cw,ch]-[0,t+h/2]

  • Ilya Sire

    November 8, 2021 at 1:51 pm in reply to: How to get Text fill?

    got it.. c = returns 3 dimensions only.

    var fc=thisComp.layer("master").text.sourceText;
    var c = fc.style.fillColor;
    [c[0],c[1],c[2],1]
  • what posterizeTime(0); line for? Does it makes AE run calculate faster?

  • Ilya Sire

    October 25, 2021 at 11:30 am in reply to: Text box anchor point from baseline

    Love to look at this solution. Is there any change i get this file? cant access it anymore.. 🙁

  • Ilya Sire

    October 25, 2021 at 5:41 am in reply to: Finding specific effect name in each layer

    Thank you! it worked 🙂

  • Ilya Sire

    March 30, 2021 at 2:50 pm in reply to: linear wipe and shape layer

    ah okay.. thanks for your explanation. Might another way around.

  • Ilya Sire

    March 30, 2021 at 12:41 pm in reply to: linear wipe and shape layer

    Thanks for your hacks Trent Armstrong, it worked, but I’m looking 1 layer solutions, I spent a few hours on this with no luck. ?

    this s=((p[1]/2-(hei/2))/height)*100; drive me crazy.

Page 1 of 6

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