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
Upbit(μ—…λΉ„νŠΈ) Cryptocurrency Exchange OPEN API Client for Python

Base Repository Python Upbit Client Repository Upbit OPEN API Client @Author: uJhin @GitHub: https://github.com/uJhin/upbit-client/ @Officia

Yu Jhin 37 Nov 06, 2022
Ridogram is an advanced multi-featured Telegram UserBot.

Ridogram Ridogram is an advanced multi-featured Telegram UserBot. String Session Collect String Session by running python3 stringsession.py locally or

Md. Ridwanul Islam Muntakim 134 Dec 29, 2022
The Main Pythonic Version Of Twig Using Nextcord

The Main Pythonic Version Of Twig Using Nextcord

8 Mar 21, 2022
A python script that automatically farms the Discord bot 'Dank Memer'.

Dank Farmer A python script that automatically farms the Discord bot 'Dank Memer'. Requirements pynput Disclaimer DO NOT use if you are not willing to

2 Dec 30, 2021
Instagram Account Creator πŸ₯°

Instagram Account Creatorr Instagram account creator that uses requests instead of selenium! Report Bug Β· Request Feature Features Request based Conta

dropout 9 Oct 27, 2021
Simple spam bot made in python

Simple Spam Bot A Simple and easy way to be the most hated person between your friends, All you have to do is spam the group chat using this bot until

Kareem Osama 6 Sep 05, 2022
A superb Telegram VoiceChat Player. Powered by FalconRoBo.

π•±π–†π–‘π–ˆπ–”π–“π•Έπ–šπ–˜π–Žπ–ˆ A sα΄œα΄˜α΄‡Κ€Κ™ Tα΄‡ΚŸα΄‡Ι’Κ€α΄€α΄ VᴏΙͺᴄᴇCΚœα΄€α΄› PΚŸα΄€Κα΄‡Κ€, ᴍᴀᴅᴇ ᴜsΙͺΙ΄Ι’ Lᴀᴛᴇsα΄› PΚα΄›Κœα΄Ι΄ α΄€Ι΄α΄… Pʏʀᴏɒʀᴀᴍ. π‘·π’π’˜π’†π’“π’†π’… π’ƒπ’š 𝑭𝒂𝒍𝒄𝒐𝒏𝑹𝒐𝑩𝒐 FalconMusic

FalconRoBo 2 Oct 21, 2022
An API wrapper around the pythonanywhere's API.

pyaww An API wrapper around the pythonanywhere's API. The name stands for pythonanywherewrapper. 100% api coverage most of the codebase is documented

7 Dec 11, 2022
Herramienta para transferir eventos de Sucuri WAF hacia Azure Monitor Log Analytics.

Transfiere eventos de Sucuri hacia Azure LogAnalytics Script para transferir eventos del Sucuri Web Application Firewall (WAF) hacia Azure LogAnalytic

CSIRT-RD 1 Dec 22, 2021
A discord token nuker With loads of options that will screw an account up real bad, also has inbuilt massreport, GroupChat Spammer and Token/Password/Creditcard grabber and so much more!

Installation | Important | Changelogs | Discord NOTE: Hazard is not finished! You can expect bugs, crashes, and non-working functions. Please make an

Rdimo 470 Aug 09, 2022
Discord Bot for League of Legends live match tracker

SABot Dicord Bot for League of Legends match auto tracker Features: Search Summoners statistics in League of Legends. Auto-notifications provide when

Jungyu Choi 4 Sep 27, 2022
Mega.nz to GDrive uploader

Mega.nz to GDrive uploader With this telegram bot you can download files from mega.nz and upload those files or telegram uploaded files to GDrive. You

30 Nov 13, 2022
This is a Innexia Chat Bot Open Source Code 🀬

⚑ Innexia ⚑ A Powerful, Smart And Simple Chat Bot ... Written with Python... Available on Telegram as @InnexiaChatBot ❀️ Support ⭐️ Thanks to everyone

Dark Cyber 4 Oct 02, 2022
Ini adalah UserBot Telegram dengan banyak modul keren. Ditulis dengan Python dengan Telethon dan Py-Tgcalls.

Okaeri-Userbot Okaeri-Userbot = userbot telegram modular yang berjalan di python3 dengan database sqlalchemy. Disclaimer Saya tidak bertanggung jawab

Wahyu 1 Dec 15, 2021
Implement backup and recovery with AWS Backup across your AWS Organizations using a CI/CD pipeline (AWS CodePipeline).

Backup and Recovery with AWS Backup This repository provides you with a management and deployment solution for implementing Backup and Recovery with A

AWS Samples 8 Nov 22, 2022
A simple Python API wrapper for Cloudflare Stream's API.

python-cloudflare-stream A basic Python API wrapper for working with Cloudflare Stream. Arbington.com started off using Cloudflare Stream. We used the

Arbington 3 Sep 08, 2022
Cdk-python-crud-app - CDK Python CRUD App

Welcome to your CDK Python project! You should explore the contents of this proj

Shapon Sheikh 1 Jan 12, 2022
ResolveURL - Fork of UrlResolver by eldorados, tknorris and jsergio123

ResolveURL Fork of UrlResolver by eldorados, tknorris and jsergio123 I am in no

gujal 60 Jan 03, 2023
Deezer client for python

Deezer Python Client A friendly Python wrapper around the Deezer API. Installation The package is published on PyPI and can be installed by running: p

Bruno Alla 103 Dec 19, 2022
A module to get data about anime characters, news, info, lyrics and more.

Animec A module to get data about anime characters, news, info, lyrics and more. The module scrapes myanimelist to parse requested data. If you wish t

DriftAsimov 31 Aug 31, 2022