Forum Replies Created

Page 15 of 277
  • Filip Vandueren

    March 23, 2023 at 2:07 pm in reply to: Need help with an UI animation

    Hey Venkat, I included the project file, so you can examine the code.

    I just thought that it looked like a mirrored sinewave, multiplied by the height of a circle (the extremes always are flat), and so I implemented that, with a slider that controls if we’re viewing a “1” multiplied by a circle or the sines multiplied by a circle.

    The resulting shape has “rotobezier” checked and some round corners to help with the smoothness.

    I think some other examples in your GIF are actually in 3D, not sure if the original animation was done in After Effects at all.

  • Filip Vandueren

    March 23, 2023 at 1:16 pm in reply to: AE outPoint expression bug

    Just as a sanity check: have you cleared the cache ? I can’t replicate the problem.

  • Filip Vandueren

    March 23, 2023 at 1:13 pm in reply to: Need help with an UI animation
  • Yes? Brie?

  • Here’s one way of how to do it:

    s = effect("A to B")("Slider");
    startP = effect("Callout Start")("Point");
    endP = effect("Callout End")("Point");
    midP = effect("Callout Middle")("Point");
    linear(s, 0, 0.5, startP,midP)
    +
    linear(s, 0.5, 1, midP,endP)
    -midP;

    or like this:

    s = effect("A to B")("Slider");
    startP = effect("Callout Start")("Point");
    endP = effect("Callout End")("Point");
    midP = effect("Callout Middle")("Point");
    if (s<0.5) {
    linear(s, 0, 0.5, startP,midP)
    } else {
    linear(s, 0.5, 1, midP,endP)
    }

    You may want to “balance” the timting midpoint, because if it is not located equally distant from start and end, then the animation would speed up/slow down before and after 0.5.

    This is a possible way to do that:

    s = effect("A to B")("Slider");
    startP = effect("Callout Start")("Point");
    endP = effect("Callout End")("Point");
    midP = effect("Callout Middle")("Point");
    midWay = length(startP, midP) / (length(startP, midP) + length(midP, endP));
    if (s<midWay) {
    linear(s, 0, midWay, startP,midP)
    } else {
    linear(s, midWay, 1, midP,endP)
    }
  • Filip Vandueren

    March 20, 2023 at 4:14 pm in reply to: Double stroke on open path in After Effects

    Of course My implementation of using text has its own shotcomings, but apart from that; offsetting bezier curves is mathematically a difficult problem as you can read here:

    https://pomax.github.io/bezierinfo/#offsetting

  • Filip Vandueren

    March 20, 2023 at 4:12 pm in reply to: Comma instead of dot – javascript

    BTW, the German convention is to use a space between the number and the %: “12,34 %”, if you don’t want that, nl_NL has the convention to not use a space: “12,34%”

  • Filip Vandueren

    March 20, 2023 at 1:38 pm in reply to: Comma instead of dot – javascript

    Hi Tiberiu,

    try this:

    .setText((thisLayer.clamp(textValue, textLow, textHigh)/100).toLocaleString("de-DE", {style: "percent", minimumFractionDigits: textNumOfDecimals, maximumFractionDigits: textNumOfDecimals}))
  • Filip Vandueren

    March 20, 2023 at 11:27 am in reply to: Double stroke on open path in After Effects

    I believe you will have almost exactly the same problem if you want do to an offset paths in shape-layers or even in illustrator: if the curves are too sharp, then mathematically they will “fold over” themselves.

    I think the easiest solution is to tweak the design so the corners are less pointy

  • Filip Vandueren

    March 20, 2023 at 10:27 am in reply to: Double stroke on open path in After Effects

    Hey Nikki, I can’t see the screenshots.

Page 15 of 277

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