Pixi is an cross-platform open-source pixel art editor and animation editor written in Zig.
Check out the user guide!
![Screenshot 2023-08-09 at 1 15 03 AM](https://private-user-images.githubusercontent.com/49629865/261676529-eaee91b2-5844-4e2e-a776-867a307cde7f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NDc1NjQsIm5iZiI6MTcyNDQ0NzI2NCwicGF0aCI6Ii80OTYyOTg2NS8yNjE2NzY1MjktZWFlZTkxYjItNTg0NC00ZTJlLWE3NzYtODY3YTMwN2NkZTdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIzVDIxMDc0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzYzlhNGQ1N2JkYmE0MDlhMjliNjA5ZWE0YTUzYzM2YWViMWIyNmZkMzI4ZDU5M2ZhYWVjN2ZmOGE2Njg4YmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.O9uqjLgIRUxgOBMrIW7bDQBHr2eVhjmWTKVvBYD6Pz8)
![Screenshot 2023-08-09 at 1 12 48 AM](https://private-user-images.githubusercontent.com/49629865/261676541-ed106b13-7a63-4538-b0a3-60daba0a8093.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NDc1NjQsIm5iZiI6MTcyNDQ0NzI2NCwicGF0aCI6Ii80OTYyOTg2NS8yNjE2NzY1NDEtZWQxMDZiMTMtN2E2My00NTM4LWIwYTMtNjBkYWJhMGE4MDkzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIzVDIxMDc0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZjZmRmN2IxN2U2ZTUxNjdmYWMyY2ZhZTVlYmI4ZGJlYzAwMjlhODgwZTVlNTk5OGU5YmEzNjQzZGM4M2U1OGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iAHGlqYgPnprtySG6EEKU4UK24Ji71TCn4Sy4FGvh7Q)
- Typical pixel art operations. (draw, erase, color select)
- Create animations and preview easily, edit directly on the preview.
- View previous and next frames of the animation.
- Set sprite origins for drawing sprites easily in game frameworks.
- Import and slice existing .png spritesheets.
- Intuitive and customizeable user interface.
- Sprite packing
- The user interface is driven by Dear Imgui which should be familiar to many.
- The general layout takes many ideas from VSCode, as well as general project setup using folders.
- Export/import options.
- Possibly .pyxel and .asesprite import
- Export to .zig to directly use in Zig frameworks
- .gif support
- Palettes
- Tiles
- Possibly much more
- [Linux] Ensure
gtk+3-devel
or similar is installed (for native file dialogs). - Install zig using zigup
zigup 0.13.0-dev.351+64ef45eb0
or manually and add to PATH. - Zig version required is latest mach nominated version, find here.
- Clone pixi.
- Build.
git clone https://github.com/foxnne/pixi.git
cd pixi
- Dawn
zig build run
- sysgpu
zig build run -Duse_sysgpu=true
- The wonderful Dear Imgui used for almost all of the user interface.
- michal-z for all the help and zig-gamedev.
- slimsag for all the help and mach-core.
- prime31 for all the help.
- Any and all contributors