ok guys, i found what i am looking for. Here in this forum…
Strugling to add this, on my project…
Here is what i found;
PImage img, img2;
PGraphics msk;
void setup() {
size(600, 600);
msk = createGraphics(width, height);
background(100, 0, 0);
noStroke();
for ( int t = 0; t < 100; t++) {
fill(random(200), random(200), random(200));
rect( random(width-20), random(height-20), 20, 20);
}
img = get();
}
void draw() {
msk.beginDraw();
msk.background(0);
msk.fill(255);
msk.ellipse(mouseX, mouseY, 80, 80);
msk.endDraw();
background(img);
img2 = get();
filter(BLUR, 7);
img2.mask(msk);
image( img2, 0, 0);
noFill();
stroke(0);
ellipse(mouseX, mouseY, 80, 80);
}
Now the focus is how to join them, like, what i have to take off from one and other leaving the basics, the fundamental things/ideias of my on project/sketch there.
I am almos there!!!
Take a look on my last skecth above… Seems it is easy, like, only make the circle transparent to show whats is behind.
But i seeing the last example i got totally confused… …
Keeping on!!!