We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, where's the error in the code? I can't create more than 4 NFTs. I already tried it with 100 weight, but that didn't work either.
const fs = require("fs"); const width = 3500; const height = 3500; const dir = __dirname; const description = "Ein Projekt, viele Leben!"; const baseImageUri = "https://ana.art/"; const startEditionFrom = 1; const endEditionAt = 500; const editionSize = 500; const raceWeights = [ { value: "skull", from: 1, to: editionSize, }, ]; const races = { skull: { name: "Skull", layers: [ { name: "Background", elements: [ { id: 0, name: "Orange", path: ${dir}/1-background/HeartIllustration_0011s_0000_Orange.png, weight: 8, }, { id: 1, name: "Dark Gray", path: ${dir}/1-background/HeartIllustration_0011s_0001_Dark-gray.png, weight: 8, }, { id: 2, name: "Light Gray", path: ${dir}/1-background/HeartIllustration_0011s_0002_light-gray.png, weight: 8, }, { id: 3, name: "Brown", path: ${dir}/1-background/HeartIllustration_0011s_0003_brown.png, weight: 8, }, { id: 4, name: "Pink", path: ${dir}/1-background/HeartIllustration_0011s_0004_pink.png, weight: 8, }, { id: 5, name: "Green", path: ${dir}/1-background/HeartIllustration_0011s_0005_green.png, weight: 8, }, { id: 6, name: "Red", path: ${dir}/1-background/HeartIllustration_0011s_0006_red.png, weight: 8, }, { id: 7, name: "Colorful", path: ${dir}/1-background/HeartIllustration_0011s_0007_colourful.png, weight: 8, }, { id: 8, name: "Blue", path: ${dir}/1-background/HeartIllustration_0011s_0008_light-blue.png, weight: 8, }, { id: 9, name: "Black", path: ${dir}/1-background/HeartIllustration_0011s_0009_black-.png, weight: 8, }, { id: 10, name: "Exotic", path: ${dir}/1-background/HeartIllustration_0011s_0008_exotic.png, weight: 8, }, { id: 11, name: "Afternoon", path: ${dir}/1-background/HeartIllustration_0011s_0008_afternoon.png, weight: 1, }, { id: 12, name: "Pastell", path: ${dir}/1-background/HeartIllustration_0011s_0008_pastell.png, weight: 8, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, { name: "Plant", elements: [ { id: 0, name: "Plant 1", path: ${dir}/2-plant/HeartIllustration_0010s_0000_back-vegetation-1.png, weight: 20, }, { id: 1, name: "Plant 2", path: ${dir}/2-plant/HeartIllustration_0010s_0001_back-vegetation-2.png, weight: 20, }, { id: 2, name: "Plant 3", path: ${dir}/2-plant/HeartIllustration_0010s_0002_back-vegetation-3.png, weight: 20, }, { id: 3, name: "Plant 4", path: ${dir}/2-plant/HeartIllustration_0010s_0003_back-vegetation-4.png, weight: 20, }, { id: 4, name: "Plant 5", path: ${dir}/2-plant/HeartIllustration_0010s_0004_back-vegetation-5.png, weight: 20, }, { name: "Heart", elements: [ { id: 0, name: "Heart", path: ${dir}/3-heart/HeartIllustration_0000_heart.png, weight: 100, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, { name: "Flower", elements: [ { id: 0, name: "Flower 1", path: ${dir}/4-flower/HeartIllustration_0000s_0000_frontal-flowers-1.png, weight: 10, }, { id: 1, name: "Flower 2", path: ${dir}/4-flowerHeartIllustration_0001s_0000_frontal-flowers-2.png, weight: 10, }, { id: 2, name: "Flower 3", path: ${dir}/4-flower/HeartIllustration_0002s_0000_frontal-flowers-3.png, weight: 10, }, { id: 3, name: "Flower 4", path: ${dir}/4-flower/HeartIllustration_0003s_0000_frontal-flowers-4.png, weight: 10, }, { id: 4, name: "Flower 5", path: ${dir}/4-flower/HeartIllustration_0004s_0000_frontal-flowers-5.png, weight: 10, }, { id: 5, name: "Flower 6", path: ${dir}/4-flower/HeartIllustration_0005s_0000_frontal-flowers-6.png, weight: 10, }, { id: 6, name: "Flower 7", path: ${dir}/4-flower/HeartIllustration_0006s_0000_frontal-flowers-7.png, weight: 10, }, { id: 7, name: "Flower 8", path: ${dir}/4-flower/HeartIllustration_0007s_0000_frontal-flowers-8.png, weight: 10, }, { id: 8, name: "Flower 9", path: ${dir}/4-flower/HeartIllustration_0008s_0000_frontal-flowers-9.png, weight: 10, }, { id: 9, name: "Flower 10", path: ${dir}/4-flower/HeartIllustration_0009s_0000_frontal-flowers-10.png, weight: 10, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, ], }, }; module.exports = { width, height, description, baseImageUri, editionSize, startEditionFrom, endEditionAt, races, raceWeights, };
const fs = require("fs"); const width = 3500; const height = 3500; const dir = __dirname; const description = "Ein Projekt, viele Leben!"; const baseImageUri = "https://ana.art/"; const startEditionFrom = 1; const endEditionAt = 500; const editionSize = 500; const raceWeights = [ { value: "skull", from: 1, to: editionSize, }, ];
const races = { skull: { name: "Skull", layers: [ { name: "Background", elements: [ { id: 0, name: "Orange", path: ${dir}/1-background/HeartIllustration_0011s_0000_Orange.png, weight: 8, }, { id: 1, name: "Dark Gray", path: ${dir}/1-background/HeartIllustration_0011s_0001_Dark-gray.png, weight: 8, }, { id: 2, name: "Light Gray", path: ${dir}/1-background/HeartIllustration_0011s_0002_light-gray.png, weight: 8, }, { id: 3, name: "Brown", path: ${dir}/1-background/HeartIllustration_0011s_0003_brown.png, weight: 8, }, { id: 4, name: "Pink", path: ${dir}/1-background/HeartIllustration_0011s_0004_pink.png, weight: 8, }, { id: 5, name: "Green", path: ${dir}/1-background/HeartIllustration_0011s_0005_green.png, weight: 8, }, { id: 6, name: "Red", path: ${dir}/1-background/HeartIllustration_0011s_0006_red.png, weight: 8, }, { id: 7, name: "Colorful", path: ${dir}/1-background/HeartIllustration_0011s_0007_colourful.png, weight: 8, }, { id: 8, name: "Blue", path: ${dir}/1-background/HeartIllustration_0011s_0008_light-blue.png, weight: 8, }, { id: 9, name: "Black", path: ${dir}/1-background/HeartIllustration_0011s_0009_black-.png, weight: 8, }, { id: 10, name: "Exotic", path: ${dir}/1-background/HeartIllustration_0011s_0008_exotic.png, weight: 8, }, { id: 11, name: "Afternoon", path: ${dir}/1-background/HeartIllustration_0011s_0008_afternoon.png, weight: 1, }, { id: 12, name: "Pastell", path: ${dir}/1-background/HeartIllustration_0011s_0008_pastell.png, weight: 8, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, { name: "Plant", elements: [ { id: 0, name: "Plant 1", path: ${dir}/2-plant/HeartIllustration_0010s_0000_back-vegetation-1.png, weight: 20, }, { id: 1, name: "Plant 2", path: ${dir}/2-plant/HeartIllustration_0010s_0001_back-vegetation-2.png, weight: 20, }, { id: 2, name: "Plant 3", path: ${dir}/2-plant/HeartIllustration_0010s_0002_back-vegetation-3.png, weight: 20, }, { id: 3, name: "Plant 4", path: ${dir}/2-plant/HeartIllustration_0010s_0003_back-vegetation-4.png, weight: 20, }, { id: 4, name: "Plant 5", path: ${dir}/2-plant/HeartIllustration_0010s_0004_back-vegetation-5.png, weight: 20, }, { name: "Heart", elements: [ { id: 0, name: "Heart", path: ${dir}/3-heart/HeartIllustration_0000_heart.png, weight: 100, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, { name: "Flower", elements: [ { id: 0, name: "Flower 1", path: ${dir}/4-flower/HeartIllustration_0000s_0000_frontal-flowers-1.png, weight: 10, }, { id: 1, name: "Flower 2", path: ${dir}/4-flowerHeartIllustration_0001s_0000_frontal-flowers-2.png, weight: 10, }, { id: 2, name: "Flower 3", path: ${dir}/4-flower/HeartIllustration_0002s_0000_frontal-flowers-3.png, weight: 10, }, { id: 3, name: "Flower 4", path: ${dir}/4-flower/HeartIllustration_0003s_0000_frontal-flowers-4.png, weight: 10, }, { id: 4, name: "Flower 5", path: ${dir}/4-flower/HeartIllustration_0004s_0000_frontal-flowers-5.png, weight: 10, }, { id: 5, name: "Flower 6", path: ${dir}/4-flower/HeartIllustration_0005s_0000_frontal-flowers-6.png, weight: 10, }, { id: 6, name: "Flower 7", path: ${dir}/4-flower/HeartIllustration_0006s_0000_frontal-flowers-7.png, weight: 10, }, { id: 7, name: "Flower 8", path: ${dir}/4-flower/HeartIllustration_0007s_0000_frontal-flowers-8.png, weight: 10, }, { id: 8, name: "Flower 9", path: ${dir}/4-flower/HeartIllustration_0008s_0000_frontal-flowers-9.png, weight: 10, }, { id: 9, name: "Flower 10", path: ${dir}/4-flower/HeartIllustration_0009s_0000_frontal-flowers-10.png, weight: 10, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, ], position: { x: 0, y: 0 }, size: { width: width, height: height }, }, ], }, };
${dir}/1-background/HeartIllustration_0011s_0000_Orange.png
${dir}/1-background/HeartIllustration_0011s_0001_Dark-gray.png
${dir}/1-background/HeartIllustration_0011s_0002_light-gray.png
${dir}/1-background/HeartIllustration_0011s_0003_brown.png
${dir}/1-background/HeartIllustration_0011s_0004_pink.png
${dir}/1-background/HeartIllustration_0011s_0005_green.png
${dir}/1-background/HeartIllustration_0011s_0006_red.png
${dir}/1-background/HeartIllustration_0011s_0007_colourful.png
${dir}/1-background/HeartIllustration_0011s_0008_light-blue.png
${dir}/1-background/HeartIllustration_0011s_0009_black-.png
${dir}/1-background/HeartIllustration_0011s_0008_exotic.png
${dir}/1-background/HeartIllustration_0011s_0008_afternoon.png
${dir}/1-background/HeartIllustration_0011s_0008_pastell.png
${dir}/2-plant/HeartIllustration_0010s_0000_back-vegetation-1.png
${dir}/2-plant/HeartIllustration_0010s_0001_back-vegetation-2.png
${dir}/2-plant/HeartIllustration_0010s_0002_back-vegetation-3.png
${dir}/2-plant/HeartIllustration_0010s_0003_back-vegetation-4.png
${dir}/2-plant/HeartIllustration_0010s_0004_back-vegetation-5.png
${dir}/3-heart/HeartIllustration_0000_heart.png
${dir}/4-flower/HeartIllustration_0000s_0000_frontal-flowers-1.png
${dir}/4-flowerHeartIllustration_0001s_0000_frontal-flowers-2.png
${dir}/4-flower/HeartIllustration_0002s_0000_frontal-flowers-3.png
${dir}/4-flower/HeartIllustration_0003s_0000_frontal-flowers-4.png
${dir}/4-flower/HeartIllustration_0004s_0000_frontal-flowers-5.png
${dir}/4-flower/HeartIllustration_0005s_0000_frontal-flowers-6.png
${dir}/4-flower/HeartIllustration_0006s_0000_frontal-flowers-7.png
${dir}/4-flower/HeartIllustration_0007s_0000_frontal-flowers-8.png
${dir}/4-flower/HeartIllustration_0008s_0000_frontal-flowers-9.png
${dir}/4-flower/HeartIllustration_0009s_0000_frontal-flowers-10.png
module.exports = { width, height, description, baseImageUri, editionSize, startEditionFrom, endEditionAt, races, raceWeights, };
The text was updated successfully, but these errors were encountered:
did you find any solution for this?
Sorry, something went wrong.
im having the same issue to but only producing 1
No branches or pull requests
Hey, where's the error in the code? I can't create more than 4 NFTs. I already tried it with 100 weight, but that didn't work either.
The text was updated successfully, but these errors were encountered: