jaxcksn / nanoleafMusic

Sync your Nanoleaf lights with Spotify!
BSD 3-Clause "New" or "Revised" License
28 stars 1 forks source link

Application uses too many different color classes #11

Closed jaxcksn closed 3 years ago

jaxcksn commented 3 years ago

Ideally, the app should only use 2 different classes for representing color max. One for the UI and another for the effects. However, the app uses several different color classes.

Currently used color classes:

Lots of math happens when calculating album color palettes in effects, and I think reducing conversions between Color classes will speed that up.