Jitter - Add Noise to Matrix but only to Values that aren't 0


    Feb 01 2014 | 7:02 pm
    Hey, I'm trying to figure out how I can set it up that I add jit.noise to a jit.matrix but only have the noise beeing added to the values in the matrix that aren't 0.
    Can somebody give me a hint how to achieve this?

    • Feb 01 2014 | 11:11 pm
      You can mask your input matrix using jit.op, and then multiply by a noise matrix.
    • Feb 01 2014 | 11:15 pm
      hi, at the same time Jesse :)
    • Feb 02 2014 | 1:17 pm
      Thanks guys, that worked perfectly!
      Now I have the noise only on the values over the treshold and I would like to scale it depending on the value of the number in the matrix it is modulating.
      So that to numbers in the matrix with smaller numbers only a smaller amount of noise is added.
      Is there any object to scale the incoming noise matrix accordingly?