magicmonkey/lifxjs — pull request #28 by nobodyman (2014-07-17 07:39:27+00:00)
Title: minor hsl fixes in web example

this tweak fixes a couple issues I was having:
- Buffer.writeUInt16LE() was throwing out-of-bounds error when it encounters fractional hsl values.
- I think maybe the intent was to cap saturation at 80%, but instead it was being scaled to 120% (causing overflow).