Reply To: Help with a Jit.Gen question?


Forums > Gen > Help with a Jit.Gen question?
March 5, 2014 | 12:26 pm

It was flowing to the bottom right due to how you were sampling the matrix. Sample coordinates range from [0, 1]. You were sampling from [0, cell/dim] and cell/dim is equal to 1-1/dim, so it doesn’t quite cover the same range. As a result, the image was being scaled slightly on each iteration, causing the flow. I’ve changed the patch a bit and it’s now stable.

<code>

– Pasted Max Patch, click to expand. –

</code>