NFTs, Generative Programming

Rarity Tables Made Easy When Planning Generative NFT Sets

The more traits, the better — to a degree.

Photo by Jingming Pan on Unsplash. People LOVE gold items. Read about that below. :-)

If you’re new to making rarity tables for generative NFT sets, I recommend reading my previous article on what they are and how to set them up before reading this one. That article is here:

Okay, so now you know what a rarity table is. Let’s look at some of the more common issue that crop up when NFT artists start planning out the rarity. Let’s imagine, for now, that the artist has come up with 10 traits for the BACKGROUND property. If we just list them in order (and, as I mentioned in my previous article, I find it SUPER helpful if you list them in alphabetical order), and assign them all an equal percentage, it looks like this:

At this setting (10% each), you’re telling the code to basically just pick one at random. Out of each 100 picked, there’ll be…