How to get points from array

It does not matter how you generate the points… I did the above to demo only. The points sit ordered in an array, you can get row/column with modulo.