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 issue - rarity not applied #865

Open trcworks opened 2 years ago

trcworks commented 2 years ago

hi All!!

Im having an issue with the rarity for each layer.

I have write the percentage for each trait with # and the number after that but im having the same rarity for each trait.

image image

and this is how I have configurated the layers

const layerConfigurations = [
  {
    growEditionSizeTo: 10,
    layersOrder: [
      { name: "Background" },
      { name: "Moth" },
    ],
  },

];
bolshoytoster commented 2 years ago

@trcworks It's because you make every possibility, they all have equal chance. If you make more layers/images or reduce the growEditionSizeTo you'll see the effect of the rarity more.