diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-26 23:40:40 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-26 23:40:40 -0500 |
commit | 2d0ac035f5095cef9e9a0b0dee7b50a90ee2e682 (patch) | |
tree | f41b9e513498b7c2cfa10ea08f56970cd7d8a240 | |
parent | d9d556cff5d3ca0d041604e39c70fce16c0eb0b1 (diff) |
Improved color variable documentation.
-rw-r--r-- | light.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -151,7 +151,8 @@ func (light *Light) ColorLoop(activate bool) error { return light.SetState(LightState{On: true, Effect: state}) } -// XY HSL colors used in `Light.SetColor` +// XY positions on the HSL color spectrum used in `Light.SetColor` +// https://en.wikipedia.org/wiki/HSL_and_HSV var ( RED = &[2]float32{0.6915, 0.3083} YELLOW = &[2]float32{0.4023, 0.4725} |