Forum Replies Created

  • Aris Blevins

    April 26, 2006 at 4:42 pm in reply to: Mutually Excusive Positioning with Expressions

    That I would like to see just as a learning tool. I think I have started to parse out the functionality of your last bit of code (no way I could have implemented it from scratch still, but it’s a start) and it would be good to re-blow my mind so that I don’t get too confident.

    Aris

  • Aris Blevins

    April 26, 2006 at 4:42 pm in reply to: Mutually Excusive Positioning with Expressions

    That I would like to see just as a learning tool. I think I have started to parse out the functionality of your last bit of code (no way I could have implemented it from scratch still, but it’s a start) and it would be good to re-blow my mind so that I don’t get too confident.

    Aris

  • Aris Blevins

    April 25, 2006 at 8:53 pm in reply to: Mutually Excusive Positioning with Expressions

    Good lord!!! That is so much more complicated then I would have possibly thought. Fantastic though. I’m going to spend a little while deciphering what exacly you did here.

    Thank you so much for your help.

    Aris

  • Aris Blevins

    April 25, 2006 at 8:53 pm in reply to: Mutually Excusive Positioning with Expressions

    Good lord!!! That is so much more complicated then I would have possibly thought. Fantastic though. I’m going to spend a little while deciphering what exacly you did here.

    Thank you so much for your help.

    Aris

  • Aris Blevins

    April 25, 2006 at 7:26 pm in reply to: Mutually Excusive Positioning with Expressions

    Dan,

    This certainly simplifies my code, but I am still getting layers sitting on top of each other. Am I mistaken in that the seedRandom function calls a different seed for every layer? I’ll post what I have for conversations sake, but if I’m totally wrong in every sense of the word, just let me know and I’ll head back to the drawing board.

    posX= [130, 284, 438, 591, 745];
    posY = [132, 294, 455, 617, 778];
    holdTime = .75;
    seed = Math.floor(time/holdTime)
    seed1 = i
    for (var i = 1; i <= thisComp.numLayers; i++){ match = false; //assume no layer's position matches if (i == index) continue; //skip self if (position == thisComp.layer(i).position){ match = true; // oops - found a layer with same position break; } } if (match) { seedRandom(seed1, true); [posX[Math.floor(random(5))],posY[Math.floor(random(5))]] }else{ seedRandom(seed, true); [posX[Math.floor(random(5))],posY[Math.floor(random(5))]] }

  • Aris Blevins

    April 25, 2006 at 7:26 pm in reply to: Mutually Excusive Positioning with Expressions

    Dan,

    This certainly simplifies my code, but I am still getting layers sitting on top of each other. Am I mistaken in that the seedRandom function calls a different seed for every layer? I’ll post what I have for conversations sake, but if I’m totally wrong in every sense of the word, just let me know and I’ll head back to the drawing board.

    posX= [130, 284, 438, 591, 745];
    posY = [132, 294, 455, 617, 778];
    holdTime = .75;
    seed = Math.floor(time/holdTime)
    seed1 = i
    for (var i = 1; i <= thisComp.numLayers; i++){ match = false; //assume no layer's position matches if (i == index) continue; //skip self if (position == thisComp.layer(i).position){ match = true; // oops - found a layer with same position break; } } if (match) { seedRandom(seed1, true); [posX[Math.floor(random(5))],posY[Math.floor(random(5))]] }else{ seedRandom(seed, true); [posX[Math.floor(random(5))],posY[Math.floor(random(5))]] }

  • Aris Blevins

    April 25, 2006 at 5:13 pm in reply to: Illustrator files not appearing in AE

    Are you getting the Invalid error? I’ve had issues with Illustrator files coming in as dots, and found that reinstalling After Effects solves it.

    Aris

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