I added an answer in the other thread about this particular point of traversing 1d or 2d arrays and cosntraining it to an area:
How to iterate video.pixels.length for random area of image - #24 by vkbr
I added an answer in the other thread about this particular point of traversing 1d or 2d arrays and cosntraining it to an area:
How to iterate video.pixels.length for random area of image - #24 by vkbr