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

RanchMobile/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 install 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

No packages published

Languages

  • JavaScript 64.5%
  • HTML 30.9%
  • HCL 2.7%
  • CSS 1.9%