Wanna try the jQuery-friendly version?
(function() {
var options = {
// In this demo we focus on graphics-related options.
// See https://luis.leiva.name/jsketch/js/docs/$.fn.sketchable.defaults.html for more configurable options.
graphics: {
firstPointSize: 0,
lineWidth: 5,
strokeStyle: 'red',
}
};
var sketcher = new Sketchable(document.getElementById('drawing-canvas'), options);
})();