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

Purple and blue only using spectrum? #356

Open
kylerobert425 opened this issue Apr 14, 2022 · 5 comments
Open

Purple and blue only using spectrum? #356

kylerobert425 opened this issue Apr 14, 2022 · 5 comments

Comments

@kylerobert425
Copy link

kylerobert425 commented Apr 14, 2022

Hey just curious if this is the intended control or needs to be changed with the rgb values but I only get blue and purple colors while using the spectrum visualization... Other modes and testing with led.py show all other colors. https://user-images.githubusercontent.com/25539934/163299008-14fa1202-4dc6-4326-9176-3a3c183d00dd.MOV

(Using a raspberry pi)

@joeybab3
Copy link
Collaborator

That doesn't seem quite right, are you sure you set your strip mode correctly (GRB vs RGB, etc...)?

@kylerobert425
Copy link
Author

Oh no I'm not sure, where would that be set? Its just seems odd that in the test, I think the colors show correctly. Thanks for the support! This is such a cool project

@nathaniel-c-wheeler
Copy link

+1 on this. I originally thought it was a failure with my logic level converter, but I've triple-checked that it's working. All other color tests are succeeding, I think it's just how the color distribution of the function looks. The visualization looks fairly accurate to what I'm seeing: a lot of blue, a fair amount of red, and only a bit of green.

@nathaniel-c-wheeler
Copy link

As a workaround, I used the original rgb vectors as hsv and converted them. I've found hsv is a much friendlier colorspace to experiment in than rgb. I can provide more details on request, or I'll push a fork you can look at.

@kylerobert425
Copy link
Author

oh interesting, yeah maybe I'll take a look at the hsv colorspace instead. I've played around with changing the RGB values but then it's always just a two-color result on the spectrum despite the other types of visualization showing all the colors

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

No branches or pull requests

3 participants