256 RGB Matrix with fastled

After a closer look, all your frames are using a total of 8 colors, so one pixel color can be stored with only 3 bits, one frame would use 96 bytes instead of 1kB originally... :wink:

Or, easier, store the color with 4 bits (so you can have 16 colors if needed), and one frame will take 128 bytes

Here is a demo with 4 bits colors : fastled_xmas_demo.ino - Wokwi Arduino and ESP32 Simulator

It was not possible to convert all your arrays at once because they were too big even for an Arduino Mega (at least with Wokwi simulator), so I used an ESP32 for generating the arrays : fastled_xmas_gen.ino - Wokwi Arduino and ESP32 Simulator

1 Like