You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tinkering with an RGB LED, I noticed I got mixed colors that were different from what I expected based on hex values passed via the color method. So I read some background info on color variations:
Could be cool to add this feature to J5, in Led.RGB constructor options and as an instance method for flexibility during runtime. I think it would be handy to use a standard set of values, as well as letting J5 user designate a custom white point as a hex string.
I'm willing to give it a go. Would other folks find this useful? I'll also look around to see whether this is a solved problem via some other JS lib.
The text was updated successfully, but these errors were encountered:
I'm going to close this since we haven't heard back, but it still sounds like a good addition. To make sure it doesn't get forgotten I've added it to the Johnny-Five Requested Features page.
Caveat: I'm extremely new to hardware.
Tinkering with an RGB LED, I noticed I got mixed colors that were different from what I expected based on hex values passed via the color method. So I read some background info on color variations:
Looks like the FastLED lib has some constant white point values that they allow the user to designate via setCorrection or setTemperature methods, and the resulting value transforms any further colors passed in.
Could be cool to add this feature to J5, in Led.RGB constructor options and as an instance method for flexibility during runtime. I think it would be handy to use a standard set of values, as well as letting J5 user designate a custom white point as a hex string.
I'm willing to give it a go. Would other folks find this useful? I'll also look around to see whether this is a solved problem via some other JS lib.
The text was updated successfully, but these errors were encountered: