We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey! I would like to be able to control the settings for this color wheel. I would like to remove the grey background behind the color wheel, so its just the wheel and a white background all over + remove the rectangle displaying the color underneath the color wheel so that its only displayed in the rectangle to the right. Anyone know how to do this?
import controlP5.*;
ControlP5 cp5;
void setup() {
size(500, 400);
cp5 = new ControlP5( this );
//"c", x position, yposition, størrelse
cp5.addColorWheel("c", 50, 50, 240)
.setRGB(color(128, 0, 255));
}
int c = color(100);
void draw() {
background(255);
fill( c );
stroke(0);
rectMode(CENTER);
rect(400, height/2, 50, 50);
println(cp5.get(ColorWheel.class, "c").getRGB());
}
Answers
have you found out by now? having the same issue...