Python Random Choice Tutorial | How to Create NFT Rarity in Python with Random Choice

2 years ago
9

In this Python random choice tutorial, we'll look at how to implement random choice in an NFT project to generate dynamic attributes according to pre-defined weights.

In the world of NFTs, mixing images together from an asset library is a handy trick.

In this quick video, we'll use the Python Random library to generate images like we did in the previous video, but with random features according to weights (rarity)

This is step 2 in our generative NFT project.

Helpful Links:
- Part 1: https://youtu.be/hvy9msjJdMs
- Pillow: https://pillow.readthedocs.io/en/stable/index.html
- Vagrant setup: https://youtu.be/AlRejC0lIGk

Loading comments...