controlp5
controlp5 copied to clipboard
ColorPicker doesn't respond `colorMode(HSB)` correctly
cP5: 2.2.6 Processing: 3.5.3
I am using my sketch colors in HSB, and I realized that the ColorPicker still shows RGB sliders for adjusting color components even in HSB colorMode
. R slider controls the Hue, G slider controls Saturation and B slider controls Brightness, which is confusing if not anything else. I found the following method as a quick workaround:
colorMode(RGB);
cp5.draw();
colorMode(HSB);