Create a scalable coordinate system


I am developing a project that will use motion tracking to locate users on a floor that has an led array underneath. the motion tracting will detect users locations and correlate that position to the LEDs underneath. I need to develop a coordinate system for the led array shown in the image and i need it to be scalable i.e. adding leds as the array is scaled up. i know grasshopper can create matrices and i plan to use pygame to visualise this as I have seen it working an led matrix.