Inspired by Github's identicons and tsoding wang-tiles created a project to generate "Wangdenticon"
You need python 3.7.6 or higher to run the scripts
- Install dependencies
pip install -r requirements.txt
- Usage
from wangdenticon import make_wangdenticon
YOUR_SIZE = 255
GRIDSIZE = 6 # 6 is recommended
BGCOLOR = (0, 0, 0)
# will create a (YOUR_SIZE x YOUR_SIZE) Pillow Image
img = make_wangdenticon(
name="YOUR NAME",
size=YOUR_SIZE,
gridsize=GRIDSIZE,
bgcolor=BGCOLOR,
invert=False,
)
img.show()
Licensed under MIT