This simple code to make generative NFT collections on Stacks STX ~ BETA CODE
add all your traits to "components" (check the components folder for example)
go to "generator.py"
change TOTAL_IMAGES = 100 or whatever you want (Number of random unique images you want to generate)
input your traits
EXAMPLE
Trait(
"Background", => Name
["Blue Sky", "Blue", "Cream"], => Name traits
[40, 40, 20]), => Rarity rank (total 100%)
for generate use command "python generator.py"
After done check your "collection" folder for the result.
EXAMPLE RESULT
Check "collection" folder
Want to toss some STX or an NFT?
yaoo.btc