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 692 forks source link

Overlapping layers... #45

Open tdr357 opened 3 years ago

tdr357 commented 3 years ago

My layers overlap (eg: facemask and cigarette). I'm pretty sure I need to write an IF statement in index.js file. Anyone achieved to fix this? Thanks!

DiamondBoyy commented 3 years ago

did u find the solution to it?

walkingeclipse commented 3 years ago

I have not tried it yet but on the config.js folder where you create required layers (line 141) you might be able to fix this issue by adding the x and y axis on each layer. I know that with Photoshop or even Illustrator you can find that information on the properties tab.

Again, I have not tried it yet but will do it once I get other things sorted out. Good luck and I hope this helps.