color palette basics I have stumbled upon Color Palettes which i have used at

color palette basics

I have stumbled upon Color Palettes which i have used at a very basic level. I am just trying to understand the basics and what is needed and what what does. Can someone give me a basic runthrough… I have read the documents on the pages here, but I still don’t fully understand everything, how it works and what is required ot get it to work.

i have made this so I can stumble my way around by imitating what has been done, but as specific questions, for the function:
FillLEDsFromPaletteColors( startIndex);
what does this do?

and how is it read in this bit:
void FillLEDsFromPaletteColors( uint8_t colorIndex)

i know it is a coding question more than anything else, but what how does the code run there, and is it possible to make this code without any functions so i can see it more ‘cleanly’?

Finally, as the website seems to be down, is that where all the preset palettes are named?

thank you

Tej

You can see how the preset palettes are setup (and the names) in these files:

https://github.com/FastLED/FastLED/blob/master/colorpalettes.h
https://github.com/FastLED/FastLED/blob/master/colorpalettes.cpp

@marmil
thanks for the preset ones, whats the most simple way to do one though. really simple, here is mine at the moment

accidently forgot to past my gist: