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

Not add a layer if the element name is : None #158

Open jon5791 opened 2 years ago

jon5791 commented 2 years ago

I would like to be able to have an element that has a weight where the element is None so that it doesn't always add that layer to the build. This way not every NFT has to have all of the layers that are available. When I load it to Opensea there are a lot of attributes listed with "None" since I have had to put up a blank image for the layer. Is there a way to code in if an element name is "none" it will skip that layer and not list it on the Json file.

AlfieDarko commented 2 years ago

This is a good idea I think