Forum Replies Created

Page 60 of 65
  • Andrei Popa

    December 6, 2017 at 9:19 am in reply to: solidFill/opacity numKeys problem SCRIPTING

    Maybe it tells you about layer 4? It has the same name, maybe that has opacity keyframes.

    Andrei
    My Envato portfolio.

  • Andrei Popa

    December 6, 2017 at 9:17 am in reply to: Control speed with expressions (slow down/speed up)

    This happens because while time grows slider lowers. And both this increase the speed. So you get an exponential graph with a very steep growth towards the end. I think the solution would be just to lower your slider. Set its value to 4-5 instead of 100.
    Graph with max slider at 100.

    Graph with 4 instead of 100.

    Andrei
    My Envato portfolio.

  • Andrei Popa

    December 6, 2017 at 9:05 am in reply to: Control scale keyframes with slider

    The way i understand it is . You have a box, animate its x scale 0->100, hold at 100, then 100->0 and would like your 100 to be controllable. In this case i think this would work.x=value[0]*effect("Slider Control")("Slider")/100;
    [x,value[1]]
    You must adjust the “effect(“Slider Control”)(“Slider”)” to your slider by pickwhiping to it.

    Andrei
    My Envato portfolio.

  • What i usually do in this situations is select all layers, pressing double “s” to de-collapse all, then U, then drag-drop selection over a very small piece of the timeline. I hope at least this helped.

    Andrei
    My Envato portfolio.

  • Andrei Popa

    November 6, 2017 at 8:46 am in reply to: scan a image pixel by pixel

    I assume you have separated dimensions,24 fps. So i think this should work
    value+(time*24*-1)%280;

    and y is
    value+Math.floor((time*24)/280)
    I didn’t verify this, so if something goes wrong, respond and i will try to make it right.

    Andrei
    My Envato portfolio.

  • I think you should do a match name check. Something like if (!specificLayer("Effects")("ADBE Drop Shadow"))
    specificLayer("Effects").addProperty("ADBE Drop Shadow")

    This way you apply drop shadow on the layer only once, no matter how many times you run the script.
    You can get the match name by running the gimmePropPath from the redefinery free scripts collection that you can find here https://www.redefinery.com/index.php . Just check the “Match name” in the script GUI and then select your effect to find its match name.

    Andrei
    My Envato portfolio.

  • Andrei Popa

    November 2, 2017 at 8:22 am in reply to: dockable script UI question

    Under the myPanel.grp = myPanel.add(res); line add this
    var button01 = myPanel.grp.add("iconbutton", undefined, "/Applications/Adobe After Effects CC 2017/Scripts/(subfolder)/button01Image.jpg", "button01")

    Andrei
    My Envato portfolio.

  • Andrei Popa

    November 1, 2017 at 4:24 pm in reply to: Move Objects by defined amount

    I don’t know of a quick solution, but maybe you could adapt this guys preset Zack’s https://zacklovatt.com/snapping-to-hex-grid/

    Andrei
    My Envato portfolio.

  • Andrei Popa

    October 31, 2017 at 10:46 am in reply to: Perimeter of ellipse

    i don’t know of such an expression, but you could use the approximate circumference of elipses geometry formula which is C = 2 * pi * sqrt((a^2+b^2)/2);
    So the expression should be something like this
    a = thisComp.layer("Ellipse").content("Ellipse 1").content("Ellipse Path 1").size[0]/2;
    b = thisComp.layer("Ellipse").content("Ellipse 1").content("Ellipse Path 1").size[1]/2;
    2 * Math.PI * Math.sqrt((a*a+b*b)/2);

    The expression was added to a slider on a null layer in the same composition as the ellipse layer named Ellipse.

    Andrei
    My Envato portfolio.

  • Andrei Popa

    October 31, 2017 at 7:56 am in reply to: Animated sound bars responded to the music

    I don’t know about the histogram. This will make your histogram stick to the end of the bar
    x=thisComp.layer("Bar Layer").sourceRectAtTime(time).width*thisComp.layer("Shape Layer 1").transform.scale[0]/100+thisComp.layer("Bar Layer").transform.position[0];
    y=value[1];
    [x,y]

    If you could somehow put a condition that the speed to go to the right should me slower, maybe you could achieve the effect. Don’t have any other idea at the moment. Let me now if you pull this up, i’m curious about the result.

    Andrei
    My Envato portfolio.

Page 60 of 65

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