I use it, but i believe the api would change for the better with your planned changes, so no probs.
Only thing, I believe that either I don't understand something, or there are two problems with the current code/docs
1) The docs say that h,s,v should be 0..1, but I found that keeping h within that range only gives blue. Using something between 0 and 360 works a lot better.
2) I tought the resulting color should be hue modulus 360, that is, 361 should be equal to 1, and instead it flashes purple around 361, I can't tell you exactly at what point because I don't have it around now.
Bye
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I use it, but i believe the api would change for the better with your planned changes, so no probs.
Only thing, I believe that either I don't understand something, or there are two problems with the current code/docs
1) The docs say that h,s,v should be 0..1, but I found that keeping h within that range only gives blue. Using something between 0 and 360 works a lot better.
2) I tought the resulting color should be hue modulus 360, that is, 361 should be equal to 1, and instead it flashes purple around 361, I can't tell you exactly at what point because I don't have it around now.
Bye