Forum Replies Created

Page 1 of 2
  • Adrian Germain

    November 2, 2009 at 9:52 pm in reply to: accumulation

    Thanks Dan, this is what i was looking for.
    I found later that you have post a very useful tutorial about Loop Expressions.

  • Adrian Germain

    November 2, 2009 at 1:57 pm in reply to: accumulation

    Ok. I have 3 keyframes with a loop expression . The value goes from 0(key1) to 100(key2) and it holds till the third keyframe.
    what i want is to add this value to position of the null. i mean, each time the loop is beginning it adds the value to the position value at that moment(valueAtTime).So finnaly i will have 0-100, hold, 100-200, hold…and so on.I know expressions don’t have memory so that’s why i think it’s about accumulation.
    I was playing with this expression but it is adding each frame value to the previous one so when i have the hold keyframe it will add 100 on each frame.

    Hope this time i was more clear.
    Thanks.

    accum = 0;
    f = Math.round(time/thisComp.frameDuration);
    for (i = 0; i <= f; i++){
    t = i*thisComp.frameDuration;
    accum += slider efect.valueAtTime(t);
    }

  • Adrian Germain

    November 13, 2007 at 3:42 am in reply to: game of life

    I’ve made a 3X3 cell like this:
    123
    456
    789

    On the text layer i used:

    f=timeToFrames(t = time + thisComp.displayStartTime, fps = 1 / thisComp.frameDuration, isDuration = false);

    b=f.toString(2);
    b.split(“”,10);

    It looks like a time binary counter but something is wrong.
    binary scheme not in sync with frames number.

  • Adrian Germain

    November 12, 2007 at 9:10 pm in reply to: game of life

    Thanks a lot Dan.
    Just one thing.
    When you say:
    if(parseInt(s[index-1]))
    which is the condition?

  • Adrian Germain

    September 20, 2006 at 2:45 pm in reply to: control the velocity with expressions

    Thanks a lot Dan. Now it’s pretty close to what i wanted to do.I thought that is something around accumulation.
    But i’m thinking to refine more the expression and what is bothering me is the constant velocity of the null directed by “segdur” parameter. So i want to fix a minimum for the sound level to change the seed of the randomness. It means, when the music is loud it changes the direction and go fast. When is low it continue in the same direction and it’s going slowly. Any advice?

  • Adrian Germain

    September 20, 2006 at 2:45 pm in reply to: control the velocity with expressions

    Thanks a lot Dan. Now it’s pretty close to what i wanted to do.I thought that is something around accumulation.
    But i’m thinking to refine more the expression and what is bothering me is the constant velocity of the null directed by “segdur” parameter. So i want to fix a minimum for the sound level to change the seed of the randomness. It means, when the music is loud it changes the direction and go fast. When is low it continue in the same direction and it’s going slowly. Any advice?

  • Adrian Germain

    September 18, 2006 at 6:29 pm in reply to: control the velocity with expressions

    Hi Dan, thanks for the post.
    Look, i want to control the velocity of motion for a blob.
    I want a random motion with an expression and the speed to be controlled by a slider of an audio amplitude, let’s say.

    So,I tried to apply to position of a null (Null6) this one (from motionscript.com :)):

    segDur = .5;// duration of each “segment” of random motion
    minVal = [0.1*thisComp.width, 0.1*thisComp.height];
    maxVal = [0.9*thisComp.width, 0.9*thisComp.height];

    seed = Math.floor(time/segDur);
    segStart = seed*segDur;
    seedRandom(seed,true);
    startVal = random(minVal,maxVal);
    seedRandom(seed+1,true);
    endVal = random(minVal,maxVal);
    ease(time,segStart,segStart + segDur, startVal, endVal);

    After i use for the position of a blob:

    s=thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)/10
    thisComp.layer(“Null 6”).transform.position.valueAtTime(time+s)

    Now is pretty close but it’s still moving where is now sound so i dont know how to get it.
    Thanks for any advice.

  • Adrian Germain

    September 18, 2006 at 6:29 pm in reply to: control the velocity with expressions

    Hi Dan, thanks for the post.
    Look, i want to control the velocity of motion for a blob.
    I want a random motion with an expression and the speed to be controlled by a slider of an audio amplitude, let’s say.

    So,I tried to apply to position of a null (Null6) this one (from motionscript.com :)):

    segDur = .5;// duration of each “segment” of random motion
    minVal = [0.1*thisComp.width, 0.1*thisComp.height];
    maxVal = [0.9*thisComp.width, 0.9*thisComp.height];

    seed = Math.floor(time/segDur);
    segStart = seed*segDur;
    seedRandom(seed,true);
    startVal = random(minVal,maxVal);
    seedRandom(seed+1,true);
    endVal = random(minVal,maxVal);
    ease(time,segStart,segStart + segDur, startVal, endVal);

    After i use for the position of a blob:

    s=thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)/10
    thisComp.layer(“Null 6”).transform.position.valueAtTime(time+s)

    Now is pretty close but it’s still moving where is now sound so i dont know how to get it.
    Thanks for any advice.

  • Adrian Germain

    December 4, 2005 at 9:01 pm in reply to: Supported features for SWF export

    Thanx for the post.
    I made a composition with nested comps all delayd by a value from the null slider. Each comp has its comps nested too and so on…
    I killed the expressions by making keyframes and deleted the null too and finnally i realised that AE make bitmap mainly because of nested comps.
    So final solution is to put all solids in the main comp and try to get the mathematical results of my expressions the delay
    Tough job, because there are 32 comps that have each one 4 solids, so…there are a lot of mathematics to find all the keyframes…
    Is there any other solution? I mean, there is not any posibility to export vectorial pre composed comps to flash?
    Sorry for my english.

  • Adrian Germain

    December 4, 2005 at 9:01 pm in reply to: Supported features for SWF export

    Thanx for the post.
    I made a composition with nested comps all delayd by a value from the null slider. Each comp has its comps nested too and so on…
    I killed the expressions by making keyframes and deleted the null too and finnally i realised that AE make bitmap mainly because of nested comps.
    So final solution is to put all solids in the main comp and try to get the mathematical results of my expressions the delay
    Tough job, because there are 32 comps that have each one 4 solids, so…there are a lot of mathematics to find all the keyframes…
    Is there any other solution? I mean, there is not any posibility to export vectorial pre composed comps to flash?
    Sorry for my english.

Page 1 of 2

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