Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.01 KB

Python Avatar Generator

Yet another Snake game in Python

Python 3.10

Avatar Generator built in Python.

  • Can generate random images, a SHA1 hash is created for each image
  • Can generate a list of all possible combinations

Objectives

Develop a basic avatar generator, that can randomize the final avatar based on different assets.

  • Python development and good config practices
  • Using PIL library to work with png images
  • Passing arguments to a Python code
  • Working with file operations

Dependencies

  • pil - Python Image Library

Usage

python app.py PARAM
    --help  ->  Display help
    all     ->  Generate all possible combinations
    random  ->  Generate random avatar

Assets need to be in an specific name style, inside the designated folder

    BG0x.png    -   Background
    SK0x.png    -   Skin
    EY0x.png    -   Eyes
    MO0x.png    -   Mouth