Skip to content

A completely responsive, HTML5 canvas sketchpad for use on desktop and mobile browsers

License

Notifications You must be signed in to change notification settings

sez-ai/responsive-sketchpad

 
 

Repository files navigation

Responsive-Sketchpad npm version

A completely responsive, HTML5 canvas sketchpad for use on desktop and mobile browsers

No longer dependent on jQuery!

Getting Started

Installation

npm i @sez-ai/responsive-sketchpad

Example

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');

Running tests

npm install

npm test

About

A completely responsive, HTML5 canvas sketchpad for use on desktop and mobile browsers

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 66.2%
  • HTML 29.7%
  • HCL 2.4%
  • CSS 1.7%