Skip to content

lgmarin/avatar_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Avatar Generator built in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages