Open DewminaS opened 2 years ago
@DewminaS the rarities you enter are just weights, meaning that occurance won't match it exactly.
Another factor to consider is that when you get closer to the max amount of images you can generate the weights will matter less because hashlips doesn't normally allow duplicates.
@bolshoytoster but how can we add rarities to our NFTs ? can you please explain it
@treshaa99 you do have rarities, they're just not exact amounts. You'll get closer to the amounts you want if you add more images and make your collection bigger.
@bolshoyotoster can uu please explain what's the mathematical method use in rarities and why it is so hard to understand it, what is the reason we can't add rarity simply ?
@treshaa99 because the images are generated (pseudo)randomly, the occurances are also random - weights can't be exact.
If you want to see how they're generated, refer to createDna
:
https://github.com/HashLips/hashlips_art_engine/blob/d8ee279043d2d4a8de3bdfac0d89d0e966fb04a2/src/main.js#L282-L304
@bolshoytoster can uu please show the correct way to add rarity I want
@DewminaS with the way haslips generates, you can't. You can either add more images and make your collection bigger or look for a different generator.
@bolshoytoster then ,if customer give a rarities like the image below can uu please tell how can we get the extract rarities within using hash lips art generator ![Uploading WhatsApp Image 2022-07-13 at 6.45.00 PM.jpeg…]() ![Uploading WhatsApp Image 2022-07-13 at 6.43.30 PM.jpeg…]()
@treshaa99
how can we get the extract rarities within using hash lips art generator
You can't, you'll have to find another generator.
the problem is the rarity i enter before generating nfts, but after generating tham the rarities are not the same rarities i entered before, they changed.
somebody can please help for work with it @bolshoytoster @LKYSE7EN