HashLips / generative-art-opensource

Create generative art by using the canvas api and node js, feel free to contribute to this repo with new ideas.
MIT License
1.36k stars 695 forks source link

Unable to set up DNA properly #59

Open scorchers0361 opened 2 years ago

scorchers0361 commented 2 years ago

When I run "node index.js" it is only generating options from the first or last png file in each section ie:background. I have changed the pngs available in a varirty of ways from 2 up to 6 but it only chooses from the first and last ones. I have attached the file as it stands. I assume I have missed one small thing to get the DNA to work correctly. Any help greatly appreciated.

Regards

config file.txt

Devolvera commented 2 years ago

I had the same issue, but this seemed to work for me.

https://github.com/HashLips/generative-art-opensource/issues/49#issuecomment-913864196