Forums > Jitter

randomize just one cell of matrix


FP
November 13, 2013 | 3:17 am

hello, I suppose it’s very simple but I can’t figure out how to do it.

[jit.noise 1 chr 10 10] -> then let pass only the biggest one and set the others cells to 0.

how to ? thx.



FP
November 13, 2013 | 3:57 am

ok I think I got a solution. If somebody have a better one…

<code>

– Pasted Max Patch, click to expand. –

</code>


November 13, 2013 | 9:20 am

why the "jit.noise 1 char 10 10"? Does this simulate some input, or can we just randomize one cell? Because that’s relatively trivial.



FP
November 13, 2013 | 9:27 am

you’re right. maybe i don’t need jit.noise and just make a classical random… stupid I am…


November 13, 2013 | 9:38 am

<code>

– Pasted Max Patch, click to expand. –

</code>

don’t worry about it



FP
November 13, 2013 | 10:34 am

ha yes thx. from your proposition, I got what I want.
the challenge was to do it with jitter objects… ;-) but…

<code>

– Pasted Max Patch, click to expand. –

</code>


Viewing 6 posts - 1 through 6 (of 6 total)