Im trying to see and image though a circle, having another image in foreground, im using this code, but it only works if the foreground image is darker than the one in the back. would appreciate any help.
-
PImage a, b;
void setup(){size(348, 450);a = loadImage("body1.jpg");b= loadImage("body2.jpg");
}
void draw(){background(b);noStroke();fill(255);ellipse(mouseX,mouseY, 20, 20);
blend(a, 0, 0, 348, 450, 0, 0, 348, 450, DARKEST);}
1