by the way my plasma is running at about 15fps. still too slow for me. i'm using a teensy 3.1.
i use an array for the grid to lookup which lights to draw:
const int paletteLength = 256;
int rainbowColors[paletteLength];
const int gridLookup[gridPixels] = {
-1, -1, 47, 48, 85, -1...