Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Light Effects #35

Open
eliasehmann opened this issue Jun 16, 2023 · 0 comments
Open

Custom Light Effects #35

eliasehmann opened this issue Jun 16, 2023 · 0 comments

Comments

@eliasehmann
Copy link

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 everything black while 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.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant