Forum Replies Created

  • Ken Ackerman

    August 5, 2013 at 7:06 pm in reply to: Looping an expression with no keyframes

    Thanks Dan,

    I think I understand how this is working, using time to create the loop. Pretty basic stuff, but seems quite useful.

    I appreciate the help,

    Ken

  • Ken Ackerman

    August 5, 2013 at 6:37 pm in reply to: Looping an expression with no keyframes

    Okay, I found a solution to my problem, again thanks to a post from Dan Ebberts.

    https://forums.creativecow.net/readpost/227/20942

    Thanks Dan,

    Ken

  • Ken Ackerman

    August 5, 2013 at 6:26 pm in reply to: Looping an expression with no keyframes

    Actually, I spoke too soon, that expression works, until I add the loop to it. Then it seems to override the time remapping expression and just loops the default duration of the keys as though the preceding code didn’t exist.
    Back to the drawing board.

  • Ken Ackerman

    August 5, 2013 at 6:20 pm in reply to: Looping an expression with no keyframes

    I found a way to resolve this using another post that Dan Ebberts answered. Though I’m not sure if there is an easier way to do it.
    This is the post that I got it from:

    https://forums.creativecow.net/thread/227/18402

    This is my final expression and it seems to do the trick quite nicely:

    holdTime = effect(“line_passage”)(“Slider”);
    k1 = 1; // 1st hold keyframe
    k2 = 2; // 2nd hold keyframe
    p = effect(“Beam”)(“Time”);
    t1 = p.key(k1).time;
    t2 = t1 + holdTime;
    if (time < t1)
    t = time
    else if (time < t2)
    t = linear(time,t1,t2,t1,p.key(k2).time)
    else
    t = p.key(k2).time + (time – t2);
    valueAtTime(t)

    loopOutDuration(type = “cycle”, duration = 0)

  • Ken Ackerman

    January 12, 2012 at 6:41 pm in reply to: getting index number for effects on a layer

    Yes. Worked like a charm. Thanks Dan, this is not the first time you’ve saved my hide!

  • Ken Ackerman

    August 7, 2010 at 12:46 am in reply to: triggering keyframes with an expression

    Hi Dan,

    That is actually exactly what I was asking for, but I’m now realizing that it is not right for what I’m doing. I tried to figure out how to change the expression to match my needs but I’m running up against a wall.

    Basically I’m creating a slider that consists of a row of small whites cubes. As I increase my slider control the cubes individually wobble, and turn orange. The decay of the wobble is perfect, but I’m now realizing that as long as the slider value is up the cubes need to stay full orange, once the slider falls below their number, they need to fade back out to white.

    So I think the expression needs to tell the opacity to change to 100% once the sliderVal >= triggerVal, and remain at that value until the sliderVal falls below the trigger val, at which point the opacity should begin to fade to zero.

    I hope this is enough information. And again, thank you so much for your expertise — your website is the reason I am brave enough to even try using expressions.

    Ken

  • Ken Ackerman

    August 6, 2010 at 11:54 pm in reply to: triggering keyframes with an expression

    Thanks Dan, that was exactly what I was looking for. I really appreciate the help.

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