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

Rarity only seems to be generated for the last Layer Config... #1254

Open coeuscrypto opened 2 years ago

coeuscrypto commented 2 years ago

I have an NFT Collection generated (5,000), but there are roughly 10 different layer configurations. The last layer config generates a single NFT with all its attributes at #100 (I have guaranteed the appearance of the final NFT).

But when I run rarity tools, it shows me the rarity only for the Attributes present in the final layerConfiguration, (i.e. I have only one background say its Red#100.png, it will only show me that Red was in say 400/5000 NFT, but it wont show me the rarity of all the backgrounds.

Hope that makes sense?

coeuscrypto commented 2 years ago

Yes, if I add more backgrounds to the last collection like Blue#0.png, Yellow#0.png then it will show me their rarity across all the layer configs.

So this would be a bug, it should not only need the keys from the final collection; just unsure how to fix it!