iontank / ThrowingBagels

ThrowingBagels is a modernization of the LEDScape software package to drive high quantities of RGB/W LEDs.
Other
15 stars 3 forks source link

Fixed W calculations for RGBW #2

Closed RemyPorter closed 3 years ago

RemyPorter commented 3 years ago

The initial version was doing a thing about checking the saturation and using that to drive the white content, but like, I don't need to do that complexity. This version just makes W = min(r,g,b), and then reduces all of RGB by W.

Suggested by this answer: https://stackoverflow.com/a/65673172