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.19k stars 4.3k forks source link

Mutiple NFT Art Pieces in one NFT collection #1151

Open gersiaan opened 2 years ago

gersiaan commented 2 years ago

I have several art pieces, which differs in the art itself and has different layers to them. Is it possible to create several different artworks and create them in one collection?

bolshoytoster commented 2 years ago

@gersiaan yes, you can have multiple configs in your layerConfigurations, e.g.

const layerConfigurations = [
  {
    // First artwork
    growEditionSizeTo: 5,
    layersOrder: [
      { name: "Background" },
      { name: "Eyeball" },
      { name: "Eye color" },
      { name: "Iris" },
      { name: "Shine" },
      { name: "Bottom lid" },
      { name: "Top lid" },
    ],
  },
  {
    // Second artwork
    growEditionSizeTo: 5,
    layersOrder: [
      { name: "Background" },
      { name: "Eyeball" },
      { name: "Eye color" },
      { name: "Iris" },
      { name: "Shine" },
      { name: "Bottom lid" },
      { name: "Top lid" },
    ],
  },
];
samimikawi commented 2 years ago

hello i checked it but it keep on generate the first one and nothing and not continue

samimikawi commented 2 years ago

const layerConfigurations = [ { // First artwork growEditionSizeTo: 5, layersOrder: [ { name: "Background" }, { name: "Body" }, { name: "Left Arm Ballon" }, { name: "Right Arm" }, { name: "Neck" }, { name: "Head" }, { name: "Cut" }, { name: "Facial" }, { name: "Hair" }, { name: "Ballons Left" }, ], }, { // Second artwork growEditionSizeTo: 5, layersOrder: [ { name: "Background" }, { name: "Body" }, { name: "Left Arm" }, { name: "Right Arm Ballon" }, { name: "Neck" }, { name: "Head" }, { name: "Cut" }, { name: "Facial" }, { name: "Hair" }, { name: "Ballons Right" }, ], }, ];

bolshoytoster commented 2 years ago

@samimikawi make sure you save the file after you make changes.

samimikawi commented 2 years ago

yes i did and i close the entire VB and open it again and try again only run the first one the dosen't continue

bolshoytoster commented 2 years ago

@samimikawi could you try using my fork please.

samimikawi commented 2 years ago

Works Thanks