HTML5 Canvas eraser -
HTML5 Canvas eraser -
there's way of implementing eraser (other using white pencil?).
i'm using layering, have image below canvas, so, if eraser paints white, user going notice since below image isn't solid white.
basically, set globalcompositeoperation copy , paint using color opacity zero, e.g. "rgba(0,0,0,0)" trying.
the question answered in bit more detail here:
http://stackoverflow.com/questions/3328906/erasing-in-html5-canvas
html5 canvas
Comments
Post a Comment