first of all great work 👍 This is not really an issue but I figured I could modify the code to make some custom light effects.
I'm thinking about a fire animation like this one.
I'm not so good with python but I can probably make it. I just don't get which code represents which color
for example: bufferC = [0x00] * 249 makes everything blackwhile bufferC = [0x09] * 249 makes everything orange.
But where can I look up the values, without having to brute force the colors. Can you please help me out :)
Also maybe you have an idea for the algorithm to do this effect. I'm thinking an list of x colors like red, orange, yellow, white and randomly going up or down that list. Each key independently.
Hey there,
first of all great work 👍 This is not really an issue but I figured I could modify the code to make some custom light effects. I'm thinking about a fire animation like this one.
I'm not so good with python but I can probably make it. I just don't get which code represents which color for example:
bufferC = [0x00] * 249
makes everythingblack
whilebufferC = [0x09] * 249
makes everythingorange
.But where can I look up the values, without having to brute force the colors. Can you please help me out :)
Also maybe you have an idea for the algorithm to do this effect. I'm thinking an list of x colors like
red, orange, yellow, white
and randomly going up or down that list. Each key independently.Cheers