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

DNA exixts #1291

Open wylim6783 opened 2 years ago

wylim6783 commented 2 years ago

I was using v1.1.2 to generate my artwork with layers traits 8 x 4 x 7 x 15 x 3 supposed not a problem for 10k images. But I encountered a lot of DNA exists after npm run generate. I noticed from the reply on this issue saying it can be ignored. Is it true? Another question is that even if I have enough layers or traits to generate 10k images, will it be affected with different rarity (eg. from all #10 change to #10, 3, 6, 8, and so on) like above issue DNA exists pop up? Thanks

bolshoytoster commented 2 years ago

@wylim6783

I noticed from the reply on this issue saying it can be ignored. Is it true?

It can be ignored, unless you end up generating too many and it stops generating, in which case you can either increase uniqueDnaTorrance or set it to Infinity in src/config.js ~line 85:

https://github.com/HashLips/hashlips_art_engine/blob/d8ee279043d2d4a8de3bdfac0d89d0e966fb04a2/src/config.js#L84-L86

will it be affected with different rarity

As you near the point of using up all possible combinations the weights matter less.

wylim6783 commented 2 years ago

Thanks for your reply. One more question. When DNA exists happened, will the generated images get any chances of duplicating which I worry about? Thanks

bolshoytoster commented 2 years ago

@wylim6783 when it says DNA exists it doesn't generate the image.

wylim6783 commented 2 years ago

Great! Your answer is much helpful.