Here are the first tests:
You will notice I made a mistake and overwrote "default.png" - oops!
Previously I talked about how I don't really get the idea of collecting PFP NFTs, but I am here to learn so I have been figuring out how to generate them from my "art".
I couldn't be fussing around with PNG files because I am having to
Most people who do this get someone else (usually on a pay-for-work contract) to do the art, or they get someone else to do the code. You will note that the Yacht Apes or whatever press never credit the artist, they always talk about how much money they make.
There are apps out there to help with this, I haven't tried them. They are probably better than I am making but I am doing this to learn, I am not expecting $$$$ lambo $$$$ from this!
Right now I am pulling in the assets as Photoshop PSD layers, counting how many layers there are in each group, and then selecting randomly.
This means what is output is based on innate math, but of course, I could add more weighting. For example, I could say only one NFT ever is allowed to have a vape.
Another thing I could do is logic, such as "if this shirt, glasses, hair, etc then this output gets a Harry Potter scar and Quidditch broom?"
Right now I am just creating PNG files and messing around with my graphics tablet and Photoshop.
I've got uploading of the raw image files working, I am sending them using the arweave api which in theory will make them as permanent as these things get.
Next step I need to generate the files as an actual NFT that a DeSo user can own them, and figure out how to gift them to my coin holders.
If anyone has insights on how I can do this on Hive/Hive Engine let me know. I have mostly figured out how I can do this on ETH but I really don't want to spend the gas fees!