Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Question for Dan (or anyone else) about noise()

  • Question for Dan (or anyone else) about noise()

    Posted by Colin Braley on February 15, 2007 at 3:30 am

    Hey Dan I was trying to get the noise() function to work today and I cant figure out whats going on:

    I used this expression on the source text property of a text layer:

    seedRandom( index, true );
    amp =effect(“Amp”)(“Slider”);
    compress = effect(“Compress”)(“Slider”);
    xNoise = amp * noise(position[0] / compress);
    yNoise = amp * noise(position[1] / compress);

    Math.round( xNoise) + ” , ” + Math.round( yNoise ) + ” “;

    as long as amp and compress are positive, shouldn’t the noise values xNoise and yNoise be positive? I think so, but for some reason they are coming out negative. Any ideas?
    ~Colin

    Dan Ebberts replied 19 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    February 15, 2007 at 2:05 pm

    Strangely, noise() returns a value in the range -1 to +1.

    dan

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