I saw that the official API uses int16 numbers for the colours, but it feels unnatural to me.
Would be nice to make abstraction of that at let us use a more natural writing style. something like: lx.lightsColour(170, '50%', '45%', .6, '1000ms') or maybe just provide a helper function that will do the math.
I think it would make it dramatically easier to use lifxjs for anyone likes me who comes from the frontend side of JS.
For me this is an issue, but please consider it as a suggestion.
I saw that the official API uses int16 numbers for the colours, but it feels unnatural to me.
Would be nice to make abstraction of that at let us use a more natural writing style. something like:
lx.lightsColour(170, '50%', '45%', .6, '1000ms')or maybe just provide a helper function that will do the math.I think it would make it dramatically easier to use lifxjs for anyone likes me who comes from the frontend side of JS.
For me this is an issue, but please consider it as a suggestion.