Closed BravoNatalie closed 2 years ago
@BravoNatalie it says that when it's run into too many duplicates, you can remove the check in src/main.js
~line 481 by removing failedCount++
:
https://github.com/bolshoytoster/hashlips_art_engine/blob/5a5ef7f3dfa5c2d2247b680d3a2484ebf88fc31c/src/main.js#L480-L482
Keep in mind that it'll probably take a while to generate the full collections and will probably use a lot of memory.
@bolshoytoster thank you! it worked! Can I suggest you add this as a feature so it's only needed to change a boolean value on the config file?
@BravoNatalie I could add something, but this is more of a workaround anyway.
I could optimise this more, but it would break compatibility with the main repo.
EDIT: Looks like you can just set uniqueDnaTorrance
in src/config.js
to Infinity
.
I could add a note in the README.md
somewhere.
thank you! I'll be closing this issue since it's resolved
Checklist
Description
I want to create a collection of 10000 and I have the following layers structure:
In my understanding, with this is possible to create up to 15000 (10 5 5 6 10) unique NFTs, but I can only create 2512 with them.
ps.: I'm not using any rarity or other different features.
Steps to reproduce
On the layers folder create a folder for each layer and its different options:
On the config file edit the
layerConfigurations
variable to look like this:Run the script with:
yarn build
Expected result
On the build folder should be created 10k different files on the images and build folder.
Actual result
Environment
OS Version (
uname -a
on unix,systeminfo
on windows): Darwin Bravos-MacBook-Air.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101 arm64 Node.js version (node -v
): v16.13.0