ptedeschi / NFT.net

An engine developed with .NET Core to generate NFT's through a graphical interface. Simple as that, in the best Grab & Go style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weighting Logic is Wrong?

igaziev13 opened this issue · comments

Hi, thanks for such a great project! Cool!

I have a question regarding Weighting. Let's take your example:

  • hat_red+10.png
  • hat_orange+20.png
  • hat_yellow+20.png
  • hat_green+40.png
  • hat_blue.png
    Logically, the sum of all weights should be 100%. But in your example, it comes that blue hat will appear 100%, so all other hats have no chance to be chosen. Am I right?
commented

After my test, it still generates other layers except for 100%, which should be a probability every time when generating, when not filling +, then there will be a high probability to appear. Another possibility is that the number of parts generated exceeds the maximum limit so other parts are selected and then continue to be generated according to +

every trait needs a number otherwise they auto split. so if you have 2 that are blank, they will share 50% of the mint. That hat_blue needs +10