r0j0, thanks for this great plugin, I was trying to come up with a line/box/circle plugin but the Canvas is more than enough. Great work.
Just one feature, I'd like to have. But I wonder if it's feasible. Being able to erase part of the canvas, either by pasting a sprite or drawing something. I tried drawing lines or points with rgba(0,0,0,0) but it seems the drawing logic just add stuff.
So yeah basically, is it possible to have an "erase part of the canvas" feature?
Edit: after some research, maybe :
acts.PasteErase = function(object)
// erase mode inside the canvas plugin object
this.ctx.globalCompositeOperation = "destination-out";
// back to normal mode
this.ctx.globalCompositeOperation = "source-out";