if anyone has Processing
please help me out with this
void setup(){
size(500,500);
}
int value1 = 0;
int value2 = 212;
int value3 = 247;
void draw(){
background(value1,value2,value3);
fill(247,150,2);
ellipse(mouseX,mouseY,100,100);
fill(255,255,0);
ellipse(mouseX,mouseY,50,50);
}
void mouseDragged(){
value1 = value1 - 2;
value2 = value2 - 2;
value3 = value3 - 2;
}
that is what i have so far, so when i press down the mouse and drag the color changes to black, but how do i change it back to the original color?