Forum Replies Created

  • Gideon Farrell

    June 14, 2010 at 5:49 pm in reply to: AE computes expression wrongly

    Yes, a debugger would be great because I had to write a whole fat load of wrapper code in a mooshell just to debug, it was an absolute bummer.
    I wrote in TextWrangler before pasting because AE doesn’t have automatic tabbing or anything.

    I am new to AE so I’m not sure what sliders or point controls are… Persistence really is necessary for a frame-based programming language (like AS for Flash).

    Oh well, project is finished now, and I thankfully left out what I was trying to do because apparently there wasn’t a way to do it.

  • Gideon Farrell

    June 12, 2010 at 8:35 pm in reply to: AE computes expression wrongly

    That’s a dratted shame and terribly primitive but okay. I guess not many people using AE are also full time programmers then.

  • Gideon Farrell

    June 12, 2010 at 12:12 pm in reply to: AE computes expression wrongly

    I know that time is calculated in seconds, don’t worry. I was relying on it (that’s why I have time%2 to make sure that the time is every two seconds [I know I could have used posterizeTime()]).

    What I did _not_ realise is that prior values are pre-expression values (which I discovered to my consternation when using another expression for rotating an object).

    I actually don’t need this code anymore but I know now why it doesn’t work. The algorithm is perfectly good (I’ll explain it in a second) but I was relying on AE giving me post-expression values (like there is a post-expression graph).

    Essentially I have two different layers of which I only want to display one at a time (so I’ve linked the second’s opacity to the first). Then the algorithm “randomly” chooses whether or not to switch the layers based on the previous state (it can reach back maximum eight seconds so four potential switches). It does this by weighting so it _must_ switch if all four previous “instances” have the same shape showing. Look at the mooshell I linked to on this document and you can see it in action.

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