A completely responsive, HTML5 canvas sketchpad for use on desktop and mobile browsers
No longer dependent on jQuery!
npm install responsive-sketchpad
Create a sketchpad
html:
<body>
<div id="sketchpad"></div>
</body>
javascript:
var Sketchpad = require('responsive-sketchpad');
var el = document.getElementById('sketchpad');
var pad = new Sketchpad(el);
pad.setLineColor('#4CAF50');
npm install
npm test