<img src="./public/pixil_logox200.png"/>
npm install @sgty/pixil
A TypeScript open-source hackable pixel editor powered by PIXI.js
Almost everything is exposed, extendable, and modular for bending this editor to your needs
``sh`
npm i @sgty/pixil
`sh`
yarn add @sgty/pixil
`sh`
pnpm add @sgty/pixil
- [x] Layers
- [x] Tools
- [x] Brush
- [x] Eraser
- [x] Fill (using q-floodfill)
- [x] History
- [x] Plugins
History is opt-in as to not bloat your memory when not necessary
to enable history:
`js`
editor.history.enabled = true;
you can also limit the amount of entries in the history (no limit by default):
`js``
editor.history.limit = 100; // 100 entries