In this project, we will use Python to generate a collection of unique profilepicture avatar by layering images from a directory. This is the technique used bymany popular NFT collections like Cryptopunks or Bored Ape.
Download Images: https://pixegamipublic.s3.amazonaws....
Code: https://github.com/pixegami/pixelpun...
Chapters
00:00 Introduction
01:10 Creating the image layers
04:00 Getting started with the project
10:45 Traversing the image directory for subpaths
17:38 Picking a random image index for each layer
23:58 Using PIL to render the image
36:55 Generating 100x images at once
41:34 Adding rare elements and backgrounds
49:30 Wrapping up