Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 769 Bytes

README.md

File metadata and controls

55 lines (40 loc) · 769 Bytes

Pixeldraw

Screenshot

avatar

Background

使用canvas开发的一个小像素画板,原生js实现

Install

$ npm install

Usage

#build
$ npm run build

# or start in devloper mode
$ npm run dev

import drawing.js

<script src='/bundle.js'></script>
<body>
    <div id="main">
    </div>
    <script>
        var d = new Drawing({
            el:'main'
        });
        d.createPixel();
    </script>
</body>

Maintainers

@WesLin.

License

MIT