Forum Replies Created

Page 2 of 3
  • Tom Granberg

    April 15, 2011 at 6:07 am in reply to: monthly emitters

    Yes, the lateness was my fault, sorry about that guys.

    I am glad everyone likes them.

    T

  • Tom Granberg

    April 15, 2011 at 4:33 am in reply to: March Emitter Libraries released: Tron

    Thanks, glad you like it.

    T

  • Tom Granberg

    April 14, 2011 at 2:36 am in reply to: March Emitter Libraries released: Tron

    Hope you all like em!
    This month it was pretty much fun all around to make these.

    T

  • Tom Granberg

    May 14, 2010 at 5:14 pm in reply to: Simple Postion Random Expression

    Great, here is a variation on the expression to lock one of the axis, as well as control the time interval the position changes.
    To precisely control where the axis position is, I used (+b) I am sure some guru on here will figure out a much better way, but I like it:-)

    Thanks to Dan!

    holdTime = .5; //time to hold each position (seconds)
    seed = Math.floor(time/holdTime);
    seedRandom(seed,true);

    numberOfXPositions = 1;
    numberOfYPositions = 30;

    a = 10; //fixed number value
    b = 512; //fixed number value

    x = Math.floor(random(numberOfXPositions))+b;
    y = Math.floor(random(numberOfYPositions))*a;
    [x,y]

  • Tom Granberg

    May 14, 2010 at 4:24 pm in reply to: Simple Postion Random Expression

    Is there a way to force the random numbers to certain increments?
    Let’s say, always pick numbers that are 10 apart.
    So you end up with position changes that looks random but in a pre-defined grid increments?

    Thanks.

  • Tom Granberg

    May 13, 2010 at 9:37 pm in reply to: Source Text from Text File

    Aha, Now I do understand!!!
    I wasnt aware that the file itself would be read as javascript.

    wow, I feel so……dumb

    T

  • Tom Granberg

    May 13, 2010 at 9:24 pm in reply to: Source Text from Text File

    First, thank you so much Dan for taking your time.

    All I want is to show the text from the .txt file, not read the text as code, just plain text.

    The entire expression is:
    #include ‘/C/Users/Renderbrandt/Documents/text/code01.txt’;

    I was going to to try “hack” an expression to show random lines of the text file too. But one step at the time I suppose.

    The text itself is actual a random code dump, I am using it as “generic” text for a computer screen on set.

    Again thank you for teaching me this.

    T

  • Tom Granberg

    May 13, 2010 at 9:09 pm in reply to: Source Text from Text File

    You are such a sport Dan!
    At least now I do not get an error on the path, so I assume that is correct now.

    However I do get this now, I tried to add “;” but that seems to not work.

    After effects warning: Expected: ;
    Error occurred at line 3.

    Using this:

    #include ‘/C/Users/Renderbrandt/Documents/text/code01.txt’;

  • Tom Granberg

    May 13, 2010 at 8:17 pm in reply to: Source Text from Text File

    I wish it worked, I am sure it does on Mac platforms.
    I cant for the world of me get it to work, I keep getting file/folder not found errors.

    I am using win7 with CS3 if that helps.
    My path is as follows:
    C:\Users\Renderbrandt\Documents\text\doce01.txt

    Is there a special way I need to format the path?

    Thanks iun advance, I wish I wasnt shuch an pia…

    Tom aka Renderbrandt

  • Tom Granberg

    May 12, 2010 at 11:51 pm in reply to: Source Text from Text File

    Just trying to get a text layer to accept a txt file.
    Do I need some formatting on the slashes?

    #include ‘//I//code01.txt’;

    I running win7

    Thank you so much.

    T

Page 2 of 3

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