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

How to generate 3 different species? #374

Open byrdmancrxpto opened 2 years ago

byrdmancrxpto commented 2 years ago

My NFT collection has 3 different character types. I want to generate them all at 1 time and have the meta data be connected so that rarity is measured across the board with on of the traits being the character name and the others being the other attribute traits. But I have to resize the atributes based on the 3 characters so say for the hats there will be 3 folders, hats 1 hats 2 hats 3 for there perspective character. Is there a better way to do this so everything is conected?

d0ra-1h3-3xpl0ra commented 2 years ago

Just configure the config.json files and select the right layer assets in each object. eg.

const layerConfigurations = [
  {
    growEditionSizeTo: 10,
    layersOrder: [
      { name: "character1" },
      { name: "hat1Char1" },
    ],
  },
  {
    growEditionSizeTo: 20,
    layersOrder: [
      { name: "character2" },
      { name: "hat2Char2" },    
],
  },
  {
    growEditionSizeTo: 30,
    layersOrder: [
      { name: "character3" },
      { name: "hat3Char3" },  

    ],
  },

];

Hope this helps