Software Makes Art For NFTs By Combining Layers in SVG

By creating different drawing elements on different layers, we (you or I) can run a Python script that separates the SVG code for that layer into a separate file, which is named based on what was drawn on that layer.

Then we can programmatically recombine different drawing elements, in the right order so that closer objects appear in front of more distant ones (by setting “height” values for each layer in general) and generate art for an entire collection of NFTs using randomness.

My Python program calls Inkscape to convert each newly-created SVG file into a PNG, populating a folder, ready for upload to IPFS.

Some example images from one project in late 2021 are below.