https://github.com/yunyoujun/pixi-painter
🎨 Painter canvas based on PixiJS.
https://github.com/yunyoujun/pixi-painter
canvas painter pixijs
Last synced: 7 months ago
JSON representation
🎨 Painter canvas based on PixiJS.
- Host: GitHub
- URL: https://github.com/yunyoujun/pixi-painter
- Owner: YunYouJun
- License: mpl-2.0
- Created: 2023-12-15T09:48:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T12:37:20.000Z (over 1 year ago)
- Last Synced: 2024-10-29T15:49:08.107Z (12 months ago)
- Topics: canvas, painter, pixijs
- Language: TypeScript
- Homepage: https://pixi-painter.pages.dev/
- Size: 1.26 MB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# pixi-painter
[](https://www.npmjs.com/package/pixi-painter)
🎨 Painter canvas based on PixiJS.
A library for building drawing scene.
- Demo:
## Usage
```bash
pnpm add pixi-painter
```### TypeScript
```ts
import { createPainter } from 'pixi-painter'async function main() {
const painter = await createPainter({
container: document.getElementById('app'),
width: 800,
height: 600,
})
await painter.init()
}main()
```## Development
```bash
pnpm i
pnpm dev
```## License
MPL-2.0 ❤ [YunYouJun](https://github.com/YunYouJun)