Skip to content

zchengsite/pixel-drawing-board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixel-drawing-board

A canvas based pixel drawing board

Installation

CDN

<script src="https://unpkg.com/[email protected]/dist/pixeldraw.js"></script>

<div id="pixel-drawing-demo"></div>

<script>
  x_pixeldrawing('#pixel-drawing-demo', {})
</script>

NPM

# install dependencies
$ npm install pixel-drawing-board
<div id="pixel-drawing-demo"></div>
import PixelDrawing from 'pixel-drawing-board'

const draw = new PixelDrawing('#pixel-drawing-demo', {})

Releases

No releases published

Packages

No packages published