Mercurial > code > home > repos > light-bridge
changeset 16:ab80e8826441
doc
author | drewp@bigasterisk.com |
---|---|
date | Sun, 28 Jan 2024 21:18:11 -0800 |
parents | 61d4ccecfed8 |
children | 1d15dc4d673f |
files | color.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/color.py Sun Jan 28 21:18:01 2024 -0800 +++ b/color.py Sun Jan 28 21:18:11 2024 -0800 @@ -12,6 +12,9 @@ @dataclass(frozen=True) class Color(DataClassJsonMixin): + """This is a target color that should look "the same" on all lights you send + it to. We convert it somehow to a DeviceColor which has the color + coordinates (maybe not RGB) that get sent to a light.""" r: float g: float b: float