HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.18k stars 4.3k forks source link

I don't want the ocurrences to be more than 1 #908

Open marcneagu opened 2 years ago

marcneagu commented 2 years ago

Hello, guys and girls! I want to create 7000 NFTs. The variable folders contains 10-30 PNGs each, from which the rarities will form. One of the folders contains 7000 different PNGs (main body of the NFT) and I want each of them to show up in the final image. I don’t want any of them (main body) to be a duplicate. Can anyone help me? Thanks Screenshot 2022-03-08 100717 ! When I run the node utils/rarity.js I want to see “ocurrence: ‘1 in 7000 editions ( x%)’

bolshoytoster commented 2 years ago

@marcneagu I think thePeanutGalleryandCo's repo or nftchef's repo might have what you want.

marcneagu commented 2 years ago

Thanks a lot! The nftchef's repo doesn't have what I need and I think the PeanutGalleryandCo's repo is bugged beacause i can't seem to make it work. I will look deeper into it, but at a first glance I think it is not 100% what I want. I just want 1 folder to not repeat the files in it; the rest of the atributes cand repeat as much as they can. I appreciate you took time to respond, @bolshoytoster !