A keyboard-centric approach to pixel art
Project description
PyPixelArt - A keyboard-centric pixel editor
The idea behind PyPixelArt is uniting:
- a cmdpxl inspired pixel image editor applied to pixel art.
- vim 's keyboard-centric approach to improve productivity. Pretty hard to do with an image editor, but it'll be fun to try xD
- Some very useful functionalities from aseprite and other pixel art editors, such as screen symmetry.
Features and keybindings
- Draw : i
- Erase: x
- Undo: u
- Save: w
- Zoom: n, b
- Move Cursor: k, j, l, h
- Grid: g
- Symmetry: s
- Color selection: c
- Color: 1, 2, 3, 4, 5, 6
- Help: Space
Installation
Install the package with:
pip install pypixelart
Usage
Run with pypixelart
.
You can also specify the file path and resolution: for example, to create a new image that is 20px wide and 10px tall you can use
pypixelart -f new_image.png -res 20,10
To get the full list of options:
$ pypixelart --help
PyPixelArt - A keyboard-centric pixel editor
Usage: pypixelart [OPTIONS]
Options:
-f, --filepath PATH Path for the file you want to open
-res, --resolution TEXT Image height and width separated by a comma, e.g.
20,10 for a 20x10 image. Note that no spaces can be
used.
--debug Print debug-level logging to standard output
--help Show this message and exit.
Contribute!
Any contributions and forks and welcomed and encouraged!
Here's how you can contribute:
- Fork the repository
- Mess around with the code and use black to format it
- Submit a Pull Request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypixelart-0.1.3.tar.gz
(53.3 kB
view details)
File details
Details for the file pypixelart-0.1.3.tar.gz
.
File metadata
- Download URL: pypixelart-0.1.3.tar.gz
- Upload date:
- Size: 53.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ac2f70d2d56bc8be264020b8743eb1025c693a86754b1fa7f16ba94bf7b725 |
|
MD5 | 449a14f92e399276ab91d19ecc00e4c8 |
|
BLAKE2b-256 | 00f234afcfb4c151d3278cc0eefb2434e232e7b1e7204be1cf062395ae6377f0 |