As discussed here:
https://forum.processing.org/topic/glgraphics-sending-an-array-of-variables-to-a-glsl-shader