Hi, what would be the best way to control a single pixels brightness? Is it using HSV? Or can you apply the setbrightness function per pixel?
Thanks!
Hi, what would be the best way to control a single pixels brightness? Is it using HSV? Or can you apply the setbrightness function per pixel?
Thanks!
HSV is probably easiest.
What are you working on?
FastLED.setBrightness(x) will set the max brightness of the whole strip. SO that’s probably not what you want. The “V” in HSV is brightness, so if you want different LEDs to have the same color at different brightnesses then giving each the same HSV color where you vary V will probably be exactly what you need.
Describe a little more specifically what you are trying to achieve here and maybe we can help more 
Mark, I’m working on simulating a light crack on a strand of LED’s. So I want a small section(5-10 pixels) to light up first at say 50% brightness then the next set(10 pixels) light up at 50% and the first set go to 100% brightness. Or something to that nature all the way down a 3 meter strip.
The color is going to be either full white or a blue white I hope. Perhaps a yellow white. But that’s up to the designer(I’m the technician
). So no crazy rainbow colors, that helps keep things simple.
I kinda figured I’d have to do HSV, but then figuring out the best way to do each section and adjust the brightness will be the fun part. It would be really cool to pulse the cracked light as the crack spreads or flicker or something to that nature. For starters though, a simple crack will suffice.
Thanks for the help guys!
None of that sounds crazy. Just animate HSV colors and you should be able to achieve that effect.
@Curtis_Smith Sounds really interesting, I was also working on simulating a light crack some time ago. Would be great if you could publish your code/results when you’re done!
@David_Brailovsky1 I definitely will. Still up to the director if we are gpu down this road. But I figured I should be able to confidently say yes. I’ll put it up when I’m done