Comments (5)
@adnjoo looking at the code myself, it appears that it selects a random one of the layers. It does not have its own deduplication system meaning that it could generate the same output multiple times in one execution. You would need to write your own logic that would ensure no duplicates.
from generative-art-node.
@tannerhallman ah I see. I guess I'll have to write it then haha
from generative-art-node.
@adnjoo do you have code that can fix that
from generative-art-node.
@adnjoo Hey mate! Do you have any clue how to make the rarity constant working?
from generative-art-node.
@adnjoo do you have code that can fix that
Could push the final hash to an array and then not write the next image if the hash matches one already in the array.
Wouldn't solve running the program multiple times but should fix duplicates in the same run.
Could also roll that over into a way to generate all the combinations, say run the loop until you don't get any more new hashes, ex : you don't get a new hash in x amount of iterations. Not fool proof but would work in most cases.
from generative-art-node.
Related Issues (20)
- Error codes when uploading Files to IFPS via nftport/node-js/VScode HOT 10
- I am having issues when trying to install using the npm i command HOT 7
- metadata split
- It says I need Mac OS 10.15
- Enoent Error
- cant find file
- visual studio creating radom pictures problem
- Having problem running node index.js in Hashlips art engine
- Error: Cannot find module 'C:\Windows\hashlips_art_engine-main/node_modules/canvas' HOT 4
- How to Make a Free Mint for the First 1000 NFTs ? HOT 1
- Why is it giving this error? can you help me? HOT 1
- SOLVED: CATCH ERROR: FetchError: request to https://api.nftport.xyz/v0/files failed, reason: socket hang up HOT 1
- Module
- Rarity does not work, it seems to output the same no matter what tag the image has, anyone had the same thing? HOT 1
- Metadata
- I'm trying to upload metadata and I get the following error HOT 1
- Getting coding error when trying to generate 10000 NFT's HOT 1
- rarity is not working properly
- Generating you over 50000+ NFTS
- png transparency in layers in creating random colors and slightly shifting the layers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generative-art-node.