NFTs are just pixelated sandwiches! #ProveMeWrong
Have you ever seen NFT collections such as The Bored Ape Yacht Club or Cryptopunks and wondered:
If you have, well, the short answer is by applying Automation to their Standardized Artworks
Now, if you are wondering:
I'm glad to introduce SAND-wich 🥪 to you!
It's an open-source software built on Python that aims to help both new and well-experienced artists in the making of NFT collections.
It is capable of merging any number of layers following an specific order (provided by you), and export every single result to a folder as an independent file and also a dataframe that contains the NFTs metadata used in the process.
By using SAND-wich, you are making your work more productive and organized because of the nature of applying Automation and Standarization to your Art. 🗿
- Technology stack: Python 3.9.6 [MSC v.1929 64 bit (AMD64)], Pandas 1.3.1, Itertools, PIL 8.4.0.
- Status: 0.1.0
- Executable: https://github.com/noahverner1995/SAND-wich/blob/main/exe/SAND-wich.exe
- What makes this software different from others? The ease of use and the brand concept behind it.
If you are a developer, you will first have to have installed Python 3.9.6
or later with the following dependencies: Pandas 1.3.1
or later, Itertools
, PIL 8.4.0
or later. Then you can copy the code from the SAND-wich.py
file and run it in your preferred environment.
If you ARE NOT a developer, you will first have to deactivate your Antivirus for then downloading the exe file. Then you can execute the program by clicking on it and pressing ↵Enter.
First of all, you need to make sure that you already have an Standardized NFT Model made with Adobe Photoshop, such as this one down below:
Download this Standardized NFT Model HERE 👀
Then, you open that model using Adobe Photoshop, then select the Zoom
🔍 tool, then move your mouse over the icon in the center of your screen, and then hold down Left-Click
until it's big enough, then you will see something like this:
All right, now you will create the following folders at your desired path
:
Make sure to name these folders with the same
name of the layer groups, respectively!
#KeepItOrganized
Then, you will hide all the layers in the .psd
except one, such as Yellow
in this case:
Then, you will export
as .png
that layer to the corresponding folder (Background
, in this case) at the path
you set:
Again, make sure to name these files with the same
name of the layers, respectively!
#KeepItOrganized
You will repeat the previous process with every single layer, individually. Once done, you will execute SAND-wich.exe
by selecting it with Left-Click
and pressing ↵Enter:
Remember to have your antivirus deactivated when doing so
Otherwise, this won't work as expected. 🧐
It will display the following program:
Now you will copy the path
at where your exported layers are located:
And paste into the SAND-wich.exe
input:
Then press ↵Enter:
SAND-wich
will print first the name of the folders (in purple) together with its corresponding files (in light blue) from the path
you passed as input, then it will print a dictionary (which is a data structure) that contains the all the previous information inside.
Then it will ask you if you want to add 'None'
as value in one or several folders (keys) of the dictionary, this will be useful if you want to create an NFT collection with some series of images without a particular feature.
If you don't want to do this, just type n
and press ↵Enter.
Else, you type y
and press ↵Enter, and then type the name of the folder (key) in which you want to add 'None'
as value and press ↵Enter, it will ask you again if you want to add another one or not, you decide from there.
All right, this part explains why this project was named as SAND-wich
(sort of). 😉
Just like a sandwich, the creation of your NFTs must follow an specific order to be created, otherwise SAND-wich
may export abominations 🧟.
In this particular case, the order will be the following: Background, Body_format, Colour, Extra
Make sure to type each folder name right for then pressing ↵Enter. Otherwhise, you will have to try again
Once you have set the order, SAND-wich
will print a message (in purple) confirming the order has been set, and then will print a dataframe that will contain the NFTs Metadata
Then, it will ask you for a folder name, in this case it was chosen 'Sample':
And then ↵Enter was pressed:
Now, it will ask you for an integer number that will used for enlarging each one of the final pictures.
ProTip: the reason for this is because when you work with Pixel art, it's better to make your layers in very low resolutions (usually a width and height less than 50p) unless you are a Pro of course, then what you do is to export the final result with a resolution several times bigger than the original one.
In case you just don't want to enlarge the final result, just type 1
as input and press ↵Enter, otherwise type a bigger integer number:
And press ↵Enter.
SAND-wich
will now apply the Cartesian Product, and will export every single result and the dataframe to the folder Sample
located at the initial path
you had set:
Then, SAND-wich
will say bye-bye and terminate itself after a few seconds.
Now, you will go back to the initial path
you had set, you will see a folder new folder named 'Sample':
Then you will open that folder to see results and hooray! 🙌 IT'S DONE:
If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.
You can follow us on our social networks to keep well informed about more developments like this one, and drop some 💓, 🔁, and 👏:
• Twitter 🐦: https://twitter.com/cryptobote
• Medium 📰: https://medium.com/@cryptobote
💚 You can also support us by purchasing at least one NFT from these collections 💚