Some new patterns, some old patterns…but created in time for the holidays:https://github.com/macetech/RGBShadesHoliday
@Garrett_Mace Fantastic. I’ll be adding the new animations to my shades tonight!
Awesome add, thank you!
If you tried the code and it didn’t work, I updated in github just now
The runMode value in EEPROM didn’t do bounds checking for the non-initialized case for the first run of the code.
Sick! Love the fireworks.
Right now im trying to adapt your slant bars to work with my project but it seems the “zig zag” wiring I have doesnt work with the rgb shades.
Could you possibly take a second of your free time and assist me on this issue?
missing/deleted image from Google+
missing/deleted image from Google+
@Alec_Luce What constitutes “doesn’t work”? The code is basically an xy sine plasma and uses XYmap, it’s not tied to anything specific in the RGB Shades resolution. Maybe something nasty with the byte overflow on a larger array (though it’s supposed to work by overflowing). Perhaps reduce the 32’s to something lower and see what it does. Honestly though I can’t help if I don’t know what the problem is.
@Garrett_Mace
I apologize
I believe the code is starting from the wrong corner of the matrix. I tried changing it to “const bool kMatrixSerpentineLayout = true;” but that didnt solve the issue.
each row is starting in the opposite corner of the matrix.
Row 0 is starting top left; 4 traveling leds from left to right.
Row 1 is starting on the right; 4 traveling dots right to left
Row2 is starting left; 4 traveling leds left to right
So on.
Have you tested other patterns and confirmed that the XY map code is working correctly? For example, you can draw a line across the display and everything is where it should be.
I’m not very good at these types of things, so no. I am up for the challenge though.
I tried using your pumpkin eye project and everything is opposite sides. When trying to adapt it, certain LEDs won’t command, I can’t command more a certain amount.
Like for instance commanding just row 0 isn’t successful. Nothing lights up on the matrix.
I do know that when controlling let’s say led 26 it should be just under 0 and it isn’t. It’s under 25
I have been at this for weeks now. Who knew getting bars to travel across a matrix would be so difficult.
Heck I’d be willing to do the
011101110111011101110111
111011101110111011101110
110111011101110111011101
Method if I could get that to work but the LEDs are lighting up randomly or just not lighting up at all.
It doesn’t help that this is pretty much my second project ever with LEDs and the first one involved a 8*8 matrix running the example code. _.
Finally found it in your gist link above (maybe you could fork the project instead to preserve file structure etc). Is your array zig-zagged? Your code doesn’t think so. The numbers in the array are the LED number that is supposed to light up. The position of the number in the array is the location that LED should be. For example a zig-zag strip would be more like this:
0 1 2 3 4
9 8 7 6 5
10 11 12 13 14
I thought the serpentine command fix the code to work with a zig zag 
But yes mine is zig zag.
Much like the image
missing/deleted image from Google+
const bool kMatrixSerpentineLayout = true;
doesn’t fix that issue?
@Alec_Luce It is not fixing the issue, correct?
There is nothing in the XYmap code for the RGB Shades that uses kMatrixSerpentineLayout. They’re different code, the one @Mark_Kriegsman wrote for the RGB Shades is designed to arbitrarily map pixels to an irregular layout. The other XY code is for a rectangle.
@Garrett_Mace some how my first link has like like multiple versions of the code it seems that was my mistake. I’m sure that isn’t helping Please bare with me