Forum Replies Created

Page 68 of 277
  • Add an effects > Expression controls > Slider Control to your layer and rename it to “Style Scale”. For starters set its value to 100.

    Now on any property you want to control with that slider use this expression:

    value * effect("Style Scale")("Slider").value/100;
  • And it doesn’t flicker when you play it back ? That’s the hardest part…

  • Good Find Ryan,

    What version of Mac OS is this ? I don’t see that particular privacy setting on Mojave

  • Filip Vandueren

    November 14, 2020 at 2:06 pm in reply to: Math.sin easing?

    Sorry, i forgot to include Math.abs(y) inside the power !

    x=value[0];

    a=thisComp.layer("SLIDER controls").effect("Amplitude 1")("Slider");

    f=1.8461538462;

    t=time-inPoint;

    y=Math.sin(t*2*Math.PI*f/thisComp.layer("SLIDER controls").effect("Speed")("Slider"));

    y=Math.pow(Math.abs(y), 0.5) * Math.sign(y) * a;

    [x,240+y];

  • Filip Vandueren

    November 14, 2020 at 1:54 pm in reply to: Point slider form comma’s to dots?

    Hi Olaf,

    in the new Javascript engine you can do this:

    num = 123456789.012;
    num.toLocaleString('nl');

    this will give you dutch nl style numbers: 123.456.789,012

    change it to ‘en’ for the english style: 123,456,789.012

    ‘ru’ for russian style: 123 456 789,012

    ‘gu’ for gujarati: 12,34,56,789.012

    ‘fa’ for farsi: 123Ù¬456Ù¬789Ù«012 (won’t show up correctly: superscript commas for thousands)

    etc.

    Much better and robust than using string replacements

  • I think the only realistic way of doing that in a way that doesn’t flicker is to use a drone to make a 3D photogrammetry mapping of the statue and 3D track that back into the shot. Which is a lot more advanced than trying to just do some painting in after effects.

    I don’t think retouching or filtering the image frame by frame or with some filters will give a convincing result that fools the viewer.

  • Filip Vandueren

    November 12, 2020 at 9:39 am in reply to: [Script] How to select random keyframes?

    You could change line 53 to:

    prop.setSelectedAtKey(ii, Math.random()<0.5);

    for a 50% probability a property will be selected.

    and change line 52 to:

        for (var ii = 1; ii <=prop.numKeys; ii++) {

    To evaluate all keys of the properties, not just those within the workarea.
    Line 22-25 & 42-50 have no function in that case and can be commented out.

    I haven’t tested this though.

  • Filip Vandueren

    November 12, 2020 at 9:28 am in reply to: [Script] How to select random keyframes?

    Define random ? How many ? If you have a comp with 200 keyframes, random could return 0 keyframe or 200. Do you need a minimum? Or 50% at random ?

  • Filip Vandueren

    November 12, 2020 at 9:25 am in reply to: Expressions not rendering

    I’ve never had that problem.

    Can you give an example of the expression that fails ?
    Are you rendering from the renderqueue or via AME or aerender ?
    Do all expressions fail, even something simple like “time*100;” for a rotation ?

  • Filip Vandueren

    November 12, 2020 at 9:23 am in reply to: wheel turning script

    Assuming it is the wheel itself that’s changing position, and not a parent, and that the scale is a 100% (you should factor the scale into the radius otherwise):

    radius = 100;
    (transform.position[0] * 360 / (radius*Math.PI*2)) + value;

    I added “+ value” so you can fine tune the starting rotation of the wheel by scrubbing the rotation value .

Page 68 of 277

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