Skip to content

wes-lin/Pixeldraw

Repository files navigation

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