Hi Dan,
Thanks for this expression.
For a long time I was wondering how to jump to the next line at the edge of the composition. If I understood your code, when index = 49 (it will the 1st column of the 2nd line), index-1 = 48, myCol = 0, myRow = 1 and then the position[0] = 20 and position[1] = 60. That’s amazing.
However, it results in too many layers. I’ve painfully learned that’s very hard to handle 1.926 layers, for me and for AE. Yes, I was naive when I thought it was the best way to tackle this problem (please, check this 5s clip).
Still, I could learn how to apply the ‘%’ and it inspired me to try another code using random(). If I am successful, I will post it here, ok?
My best,
edo