Paul-Dempsey / pachde1

VCV Rack modules
Other
6 stars 0 forks source link

Copper: Can't round trip RGB/HSL for nvgHSL #4

Open Paul-Dempsey opened 1 year ago

Paul-Dempsey commented 1 year ago

nanovg provides nvgHSL* functions, but doesn't provide functions to extract the same h, s, or l from an NVGcolor. I've written some basic functions that have been workable for the purposes of imagine, but it's a real problem for Copper, and I disabled hex editing.

To fix this the options are: