Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yunyoujun/pixi-painter
🎨 Painter canvas based on PixiJS.
https://github.com/yunyoujun/pixi-painter
canvas painter pixijs
Last synced: about 2 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-20T12:37:20.000Z (10 months ago)
- Last Synced: 2024-05-22T22:20:14.903Z (7 months ago)
- Topics: canvas, painter, pixijs
- Language: TypeScript
- Homepage: https://pixi-painter.pages.dev/
- Size: 1.26 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# pixi-painter
[![NPM](https://img.shields.io/npm/v/pixi-painter.svg?style=flat-square)](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)