For anyone interested, I am publicly publishing code for a new sub-project.

For anyone interested, I am publicly publishing code for a new sub-project. Its a class for fast, low memory, dynamic color generation. FastLED already has something like this (I think) but I don’t use FastLED and thought o make this available.

It dynamically generates an RGB value for a spectrum of colors based on a linear index value you can increment in any way you like. Its designed to give you CLIPPED color spectrum for driving pixels at lower power levels while still maintaining a good range of colors. Its a work in progress as id like to add dynamic color insertions but the main color generation works perfectly.

Looks like a fastled custom color palette with linearblend. Although this will let you change the size of your palette where I think fastled is fixed at 16 (blended to 256)

I assume you don’t use FastLED because you use a variety of platforms, some not supported (such as Raspberry Pi), and you’d like to use the same code on all of them?

Regardless, very interesting, looking forward to reviewing the code. Thanks for sharing!

@Jason_Coon yep,I use a bunch of diferent micros & SOCs and try to keep core code as universaly portable as possible

@Gibbedy_G thanks for clarifying, i was pretty sure FastLED had something similar