Here is my question
I kind of not understand what is the sx and sy is for in below function
context.drawImage(Image, sx, sy, sw, sh, dx, dy, dw, dh);
var img = new Image(); img.onload = function init_sketch() { img.src = 'http://cssdeck.com/uploads/media/items/3/3yiC6Yq.jpg'; context.drawImage(img, 0, 0); }