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:
AWT in Pulse Beat and Vibe Effect
NanoleafAPI Colors in all Effects
RGB arrays in the Effect Manager
PaletteColor for the Color Picker
JavaFX Paint Color in the User Interface
Lots of math happens when calculating album color palettes in effects, and I think reducing conversions between Color classes will speed that up.
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.