So I'm super new to XY Matrices and I'm trying to adapt my tree

So I’m super new to XY Matrices and I’m trying to adapt my tree code to strips hanging vertically. Even trying the demo, as soon as I change the height/width to be 5 and 60 (5 strips, 60 LEDs per strip), I get out of memory errors and the sketch doesn’t compile. I thought at first that it was because of the large total of LEDs, but i tried a bunch of different values and was able to compile with larger values (20x20 for example).

Is there rule of matrices I’m missing? I didn’t think they HAD to be square.

They don’t have to be square, and there’s several examples online where you define your height and width.

@Christopher_Kirkman1 which board are you using ?

@Yves_BAZIN ARduino Uno. I simply don’t have enough memory and didn’t realize that until a day or so ago.

@Christopher_Kirkman1 ok so an mcu upgrade is in order. Good luck with your build