I have in my stage two layer wich contain each an image (these images can be changed with some button) and now her my issue:
I'm trying to make an eraser that can erase on one of the two layer. I mean, i have the layerA that contain an image like a head and a layerB that content sunglass and I whant to be able to erase with a little circle a part of the glass and maybe a part of the head (like when hair are too ugly)
her a jsfiddle of what i have:
http://jsfiddle.net/junkees/jA2V8/
I whant to be able to erase on the frog or on cup using kineticjs (not just a simple circle that "reveal" what is under the image, a real eraser, when i mousedown, it's erase and when i mouse up, he stop erasing)
I have in my stage two layer wich contain each an image (these images can be changed with some button) and now her my issue:
I'm trying to make an eraser that can erase on one of the two layer. I mean, i have the layerA that contain an image like a head and a layerB that content sunglass and I whant to be able to erase with a little circle a part of the glass and maybe a part of the head (like when hair are too ugly)
her a jsfiddle of what i have: http://jsfiddle.net/junkees/jA2V8/ I whant to be able to erase on the frog or on cup using kineticjs (not just a simple circle that "reveal" what is under the image, a real eraser, when i mousedown, it's erase and when i mouse up, he stop erasing)
thanx in advance for your help :)