Using source-in on HTML5 canvas

Example of how you can use the source-in global composite operation on the HTML5 canvas.