Just put it out there that I literally just started today with Processing so very much a begineer.
What I'm basically trying to create is a simple dodge and burn tool like you get in photoshop.
void draw(){
PImage steve = loadImage("test.jpg");
if(mousePressed){
if(mouseButton==LEFT){
fill(BURN);
smooth();
noStroke();
ellipse(mouseX,mouseY,20,20);
if(rad==1){
line(x1,y1,mouseX,mouseY);
}
}
}
How would I get an ellipse that when mouse pressed made the image dodged or burnt in the area of the ellipse?
any help would be great thanks
Nick
1