4x3 led grid array function?

Try this ...

#include "Tlc5940.h"

const uint16_t pattern = 0b0000/   // ignore these 3-bits
                         111/
                         101/
                         101/
                         111;


void SetLEDArrayMode(uint16_t pattern, uint16_t luminance)
{
    Tlc.clear();

    for ( int mask = 0b0000100000000000, chan = 0; mask; mask >>= 1, chan++ )
    {
        Tlc.set(chan, ((pattern & mask) ? luminance : 0 ));
    }

    Tlc.update();
}

void loop()
{
    // 12-bit luminance, 0 - 4095

    int luminance   = 4095;                 // full brightness
    SetLEDArrayMode(pattern, luminance);
}

void setup()
{
    Tlc.init(0);
}