HTML5 plucking string based on Paper.js