Forum Replies Created

Page 237 of 277
  • Mike Clasby

    February 3, 2006 at 10:12 am in reply to: CARDDANCE – rows and collums

    OK, it’s a little easier to line up the grid of 10,000 (100×100) 1’s and 0’s, if you create a 10×10 Colored solid (I used blue). Move it below the Text layer, dup it. Change one position to 5,5 and the other to 995,995. Now you have a box in opposite corners of your 1000×1000 comp.

    Like I said before, with Courier (T1), Medium at 1o pix font size, you need a leading of 10 and a tracking of 400 (I think I said 370 earlier, but 400 seems better). Anyway you can see when you get it aligned properly because there will be a number in the middle of the blue square on the upper left and the lower bottom. If they’re no aligned, change the leading/tracking until they do And you need to select the text layer when you make changes). Changing the font, means you need differnet leading and tracking to make things line up. Very doable, just takes a little tweaking. Hope this works for you.

    Like I said before, this is a hack off Dan, and I can see a line that’s not necessary, the line that says:
    if (c > 57) c += 7;

    There’s probably more that could be cleaned up, but this works.

    I tried a different method of Dan’s, a hack of his grid comp that defined the Horz and Vert Space in his tut, “noise()

  • Mike Clasby

    February 3, 2006 at 7:53 am in reply to: expression help, linking audio to scale height only

    Here is how to do Filip Vandueren’s suggestion:

    To move the anchor point do one of the below:

    1) Double click the layer in the timeline window, this opens the layer window, now grab that little circle in the middle of the layer and slide it down to the bottom,
    close that tab and reposition the layer to where it was before, and then you’ll see it’s only scaling upward (also it rotates around that anchor point, tweak the rotation a little to see).

    or, and this is probably easier:

    2) Use the “Pan Behind Tool” (Y) (Third from the right-bottom row-tool palette) and move the anchor point down (Still in the comp window here). You’ll see you don’t have to reposition anything, AE compensates automatically.

  • Mike Clasby

    February 3, 2006 at 7:53 am in reply to: expression help, linking audio to scale height only

    Here is how to do Filip Vandueren’s suggestion:

    To move the anchor point do one of the below:

    1) Double click the layer in the timeline window, this opens the layer window, now grab that little circle in the middle of the layer and slide it down to the bottom,
    close that tab and reposition the layer to where it was before, and then you’ll see it’s only scaling upward (also it rotates around that anchor point, tweak the rotation a little to see).

    or, and this is probably easier:

    2) Use the “Pan Behind Tool” (Y) (Third from the right-bottom row-tool palette) and move the anchor point down (Still in the comp window here). You’ll see you don’t have to reposition anything, AE compensates automatically.

  • Mike Clasby

    February 3, 2006 at 2:21 am in reply to: How to pass Video to flash? After Effects the best way?

    The best way is to get AE7 (or download the 30 day demo) and render your video out an FLV file. Import that into Flash and it another flash layer.

    Ask Lee Brimelow over in the Cow Flash Forum if you have problems.

  • Mike Clasby

    February 3, 2006 at 2:12 am in reply to: expression help, linking audio to scale height only

    yikes, I didn’t see this was already answered.

  • Mike Clasby

    February 3, 2006 at 2:12 am in reply to: expression help, linking audio to scale height only

    yikes, I didn’t see this was already answered.

  • Mike Clasby

    February 3, 2006 at 2:10 am in reply to: expression help, linking audio to scale height only

    Since you know the basics, when you Alt Click, the stop watch, then pickwhip to the slider on the Audio Keyframes layer you get an expression like this:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [temp, temp]

    And the changes are tiny, I can’t see the layer, it shrank so much.

    Now select the first temp in the [temp, temp] and pick whip tat to the x scale, giving you:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0], temp]

    Do the same for the second temp in [scale[0], temp], giving you:
    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0], scale[1]]

    This expression is just giving it the original scale, now we add in the temp to the y scale dimension:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0],scale[1]+ temp]

    I had to multiply by 10 to see the changes:
    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0], scale[1]+temp*10]

    Adjust away.

  • Mike Clasby

    February 3, 2006 at 2:10 am in reply to: expression help, linking audio to scale height only

    Since you know the basics, when you Alt Click, the stop watch, then pickwhip to the slider on the Audio Keyframes layer you get an expression like this:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [temp, temp]

    And the changes are tiny, I can’t see the layer, it shrank so much.

    Now select the first temp in the [temp, temp] and pick whip tat to the x scale, giving you:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0], temp]

    Do the same for the second temp in [scale[0], temp], giving you:
    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0], scale[1]]

    This expression is just giving it the original scale, now we add in the temp to the y scale dimension:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0],scale[1]+ temp]

    I had to multiply by 10 to see the changes:
    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [scale[0], scale[1]+temp*10]

    Adjust away.

  • Mike Clasby

    February 3, 2006 at 1:50 am in reply to: CARDDANCE – rows and collums

    Hey, these questions are frying my brain, but here’s one way. It’s from Dan the-expression-man’s tut, “Exploring Expressions in AE 6”.

    https://www.creativecow.net/articles/ebberts_dan/ae6_exp/index2.html

    Make a comp 1000×1000 (You said you wanted 100×100 grid of 1’s and 0’s). With the Text Tool, put a “1” on the page. I used Courier (T1) medium, size 10 pixels,leading at 10 pix (Character Palette), tracking at 370,
    and positioned the layer at x=2.5, y=7.5 (these worked for me but you can adjust to get the grid to fit the comp evenly. Since you said you wanted a 100×100 grid of 1’s and 0’s,
    add this expression to the “Source Text” property (twill down under text):

    numRows = 100;
    numChars = 100;
    holdFrames = 5;

    seed = Math.floor(time/(holdFrames*thisComp.frameDuration));
    seedRandom(seed,true);

    s = “”;
    j = 0;
    while(j < numRows){ k = 0; while (k < numChars){ c = Math.floor(random(48,50)); if (c > 57) c += 7;
    s += String.fromCharCode(c);
    k += 1;
    }
    s += “\r”;
    j += 1;
    }
    s

    You should have a grid 100×100 0f random 1,0.
    You can adjust the position and spacing of the grid of numbers by selecting the text layer, then adjust:
    Position , and in the Character Palette: leading and tracking of the text.

    I’d Save Frame as Photoshop layer and import that into the comp, so AE doesn’t have
    to run through the expression every time when you through Card Dance on top of it.
    If you don’t change it into a PS pic, the numbers will change every 5 frames, see the
    holdFrames = 5;
    in the expression above. You can adjust this to taste, if you want changing numbers.

    Like I said look at his tut to noodle it out.

  • Mike Clasby

    February 3, 2006 at 1:50 am in reply to: CARDDANCE – rows and collums

    Hey, these questions are frying my brain, but here’s one way. It’s from Dan the-expression-man’s tut, “Exploring Expressions in AE 6”.

    https://www.creativecow.net/articles/ebberts_dan/ae6_exp/index2.html

    Make a comp 1000×1000 (You said you wanted 100×100 grid of 1’s and 0’s). With the Text Tool, put a “1” on the page. I used Courier (T1) medium, size 10 pixels,leading at 10 pix (Character Palette), tracking at 370,
    and positioned the layer at x=2.5, y=7.5 (these worked for me but you can adjust to get the grid to fit the comp evenly. Since you said you wanted a 100×100 grid of 1’s and 0’s,
    add this expression to the “Source Text” property (twill down under text):

    numRows = 100;
    numChars = 100;
    holdFrames = 5;

    seed = Math.floor(time/(holdFrames*thisComp.frameDuration));
    seedRandom(seed,true);

    s = “”;
    j = 0;
    while(j < numRows){ k = 0; while (k < numChars){ c = Math.floor(random(48,50)); if (c > 57) c += 7;
    s += String.fromCharCode(c);
    k += 1;
    }
    s += “\r”;
    j += 1;
    }
    s

    You should have a grid 100×100 0f random 1,0.
    You can adjust the position and spacing of the grid of numbers by selecting the text layer, then adjust:
    Position , and in the Character Palette: leading and tracking of the text.

    I’d Save Frame as Photoshop layer and import that into the comp, so AE doesn’t have
    to run through the expression every time when you through Card Dance on top of it.
    If you don’t change it into a PS pic, the numbers will change every 5 frames, see the
    holdFrames = 5;
    in the expression above. You can adjust this to taste, if you want changing numbers.

    Like I said look at his tut to noodle it out.

Page 237 of 277

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