Comments (4)
This looks better but instead of
await layers.forEach(async (layer) => {
await drawLayer(layer, i);
});
I suggest:
for(let layer of layers){
await drawLayer(layer, i);
}
That forEach is a HoF and I think there's some confusion about how those work.
from generative-art-node.
It appears that the application does a lot of work in memory, as evidenced by the output not populating and the metadata file not being written until everything else is done. You would probably need a ton of RAM to reach 10,000 files in one run. I tried for 1,000 and my node crashed at 309, and my computer has 32 GB RAM. If batching them is acceptable to you, this might be the only solution without buying a massively powerful computer or minting via contract. Remember to copy batches somewhere else if you do plan to do it this way, as this application wipes the output directory every run.
from generative-art-node.
The metadata for 10K would be less than 10M so that can't be it. It looks like it's just not waiting for things that are async, It probably needs a major rewrite.
from generative-art-node.
that the application does a lot of work in memory, as evidenced by the output not populating and the metadata file not being written until everything else is done. You would probably need a ton of RAM to reach 10,00
Hi, The fix for this issue has been merge in the main branch. Can you please check if this is working now?
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.