NFT Generator: A modular NFT generator application

Overview

NFT Generator

Open in Visual Studio Code

A simple passion project done with the role to learn a bit about how images are processed by computers. A modular NFT generator application that allows you to create NFT's by diving each accesorry of an NFT into more parts. For example, a character with that has a hat and glasses, can be divided into:

- background
- the character itself
- the character's facial parts(ex eyes, mouth etc)
- the glases
- the hat

Because of this modularity, its very easy to simply change the code and the structure a bit to create a completely new collection of unique NFTS.

Dependencies

How to use it

For every part you want you want to use, create a folder for it and store its variants there and edit the allready existing code to your needs. Example, you want to put earrings to your character:

\nft_generator
    \earrings
        ---earring_0.png
        ---earring_1.png
        ---earring_2.png
        ---earring_3.png
        ................
        ................

Note: If youre gonna have an optional part, that will not always be present on all NFTs, I Suggest that you create an empty .png with index 0 and call that file for the NFT's that will not have that optional part, just to make things easier.

How to create your own parts

If you want to create new parts for yourself, you must respect few rules such that the program will behave normally:

  • if you want that part to be colored a specific color when you run the program you must create all the pixels that represent the part with only a single RGB channel and then specify that channel in the program to be colored the color you desire.
  • if you use RGB values like (255,2,3) the program will not change that pixel, since it can see only 1 color channel everytime, so if you want to change that pixel, you can use something like (255, 0,0) and select the red channel.(you can also do shading by altering the value in that channel youre using, it doesnt particulary need to be 255, it can be 200 for example and that pixel will be darker in color.)
  • if you want more complex parts, you can use 3 colors , red , green, blue and call the function to give it color 3 times for all 3 color channels. Example, you want to make a hat of a specific color in the final product, so you make the hat red in the hat.png, but then in some hairstyles, the hat doesnt cover the hair, so you make the near background of the hat.png with blue and then call the function to give it color, but with the blue color channel and give it the same color as the background color of the NFT and so, there isnt any more hair getting out of the hat.
  • if you want a color to not be altered by the color function , simply change the RGB values such that there arent 2 channels with 0 as values.Example: red hat (255,0,0) ---> (255,1,0),

Content of this repo:

  • Example code with some predefined parts
  • Shading Randomizer for helping when creating new parts
discord bot made in discord.py

udeline discord bot made in discord.py, which's main features include: general use server moderation fun commands other cool commands dependencies dis

1 Feb 08, 2022
A Telegram Video Watermark Adder Bot

Watermark-Bot A Telegram Video Watermark Adder Bot by @VideosWaterMarkRobot Features: Save Custom Watermark Image. Auto Resize Watermark According to

5 Jun 17, 2022
🤖 Automated follow/unfollow bot for GitHub. Uses GitHub API. Written in python.

GitHub Follow Bot Table of Contents Disclaimer How to Use Install requirements Authenticate Get a GitHub Personal Access Token Add your GitHub usernam

João Correia 37 Dec 27, 2022
Github-Checker - Simple Tool To Check If Github User Available Or Not

Github Checker Simple Tool To Check If Github User Available Or Not Socials: Lan

ميخائيل 7 Jan 30, 2022
This is Pdisk Upload Bot made using Python with Pyrogram Framework. Its capable of uploading direct download link with thumbnail or without thumbnail & with Title Support.

Pdisk-Upload-Bot Introduction This Is PDisk Upload Bot Used To Upload Direct Link To Pdisk With Thumb Support Deploy Heroku Deploy Local Deploy pip in

HEIMAN PICTURES 32 Oct 21, 2022
This is a scalable system that reads messages from public Telegram channels using Telethon and stores the data in a PostgreSQL database.

This is a scalable system that reads messages from public Telegram channels using Telethon and stores the data in a PostgreSQL database. Its original intention is to monitor cryptocurrency related ch

Greg 3 Jun 07, 2022
A repository of publicly verifiable token Sale contracts

Token-Sale-Plutus-Contract A repository of publicly verifiable token sale and royalty contracts. This will be the storage solution since it is easily

Logical Mechanism 29 Aug 18, 2022
Simple Telegram AI Chat bot made using OpenAI and Luna API

Yui Yui, is a simple telegram chat bot made using OpenAI and Luna Chat bot Deployment 👀 Deploying is easy 🤫 ! You can deploy this bot in Heroku or i

I'm Not A Bot #Left_TG 21 Dec 29, 2022
Event-driven-model-serving - Unified API of Apache Kafka and Google PubSub

event-driven-model-serving Unified API of Apache Kafka and Google PubSub 1. Proj

Danny Toeun Kim 4 Sep 23, 2022
API to retrieve the number of grades on the OGE website (Website listing the grades of students) to know if a new grade is available. If a new grade has been entered, the program sends a notification e-mail with the subject.

OGE-ESIREM-API Introduction API to retrieve the number of grades on the OGE website (Website listing the grades of students) to know if a new grade is

Benjamin Milhet 5 Apr 27, 2022
Enumerate Microsoft 365 Groups in a tenant with their metadata

Enumerate Microsoft 365 Groups in a tenant with their metadata Description The all_groups.py script allows to enumerate all Microsoft 365 Groups in a

Clément Notin 46 Dec 26, 2022
Make a command interpreter that manages AirBnb objects

AirBnB Clone Project Description This is part 1 of our AirBnb Clone project. The purpose of this project is to make a command interpreter that manages

Firdaus H. Salim 1 Nov 14, 2021
Vladilena Mirize Music - Bot Music Telegram By @zenfrans

Vladilena Mirize Music - Bot Music Telegram By @zenfrans

Wahyusaputra 3 Feb 12, 2022
A simple Discord Token Grabber sending the new token if the victim changes his password.

💎 Riot 💎 Riot is a simple Discord token grabber written in Python3 running in background and executing when the victim start their computer. If the

Billy 66 Dec 26, 2022
Recommended AWS CDK project structure for Python applications

Recommended AWS CDK project structure for Python applications The project implements a user management backend component that uses Amazon API Gateway,

AWS Samples 110 Jan 06, 2023
A Telegram Bot for adding Footer caption beside main caption of Telegram Channel Messages.

Footer-Bot A Telegram Bot for adding Footer caption beside main caption of Telegram Channel Messages. Best for Telegram Movie Channels. Made by @AbirH

Abir Hasan 35 Jan 02, 2023
vk.com API python wrapper

Python vk.com API wrapper This is a vk.com (the largest Russian social network) python API wrapper. The goal is to support all API methods (current an

Dmitry Voronin 371 Dec 29, 2022
An Unofficial TikTok API Wrapper In Python

This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call most trending and fetch specific user information as well as much more.

David Teather 2.9k Jan 08, 2023
A Python IRC bot with dynamically loadable modules

pybot This is a modular, plugin-based IRC bot written in Python. Plugins can bedynamically loaded and unloaded at runtime. A design goal is the abilli

Jeff Kent 1 Aug 20, 2021
Aria & Qbittorent Mirror Bot

Eunha Mirror Eunha Mirror is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive. Features su

ovin 158 Dec 19, 2022