Skip to content

cat-loaf/PxA-Painter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PxA-Painter

This is a pixel art painting program made in Python.

Libraries

The technologies used in this project are:

  • Pygame
  • Tkinter
  • Scikit-Image

Execution

To run this project, there are a few requirements:

  • You must have Python 3.10 or onwards installed
  • You must have pygame installed
  • You must have scikit-image installed
  • You must have numpy

To install all the modules, run pip install -r requirements.txt in the root of the folder.

When all the modules are installed, you can run python main.py or py main.py in the root of the folder to start the program.

Program Abilities

There are 5 tools, a loading/saving function and colour selecting.

Tools

  • Move - Moves the canvas to a desired position
  • Pencil - Paints the cell selected by the mouse with a selected colour
  • Erase - Erases the cell selected by the mouse
  • Fill - Fills the section selected by the mouse
  • Splash - Clears the canvas to the selected colour

Saving/Loading

The program saves and loads canvases in the .pxa format.

It is text-editable since the content of the file is a list of RGB triplets, with a header of the size of the canvas.

Colour Palette

The colour palette can be changed, but do so at your own risk. There are plans to fix the way the palette is loaded, but at the current time, palettes under 25 colours are guaranteed to work.

There is an issue with loading files that are not saved with the same colour palette as the current colour palette. Because of this issue, I recommend that you do not change the colour palette at all if possible, and if not possible, remember to reload the correct colour palette.

Preview

About

Pixel art painting program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages