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
Production Ontology Merging (PrOM) Framework

Production Ontology Merging (PrOM) Framework OWL 2 DL ontology merging framework tailored to the production domain Features preprocessing: translation

4 Nov 02, 2022
Python SDK for IEX Cloud

iexfinance Python SDK for IEX Cloud. Architecture mirrors that of the IEX Cloud API (and its documentation). An easy-to-use toolkit to obtain data for

Addison Lynch 640 Jan 07, 2023
Cogs for RedDiscord-Bot V3

Cogs v3 Disclaimer: This is an unapproved repo, meaning no one has formally reviewed this repo yet and any loss of data in your bot isn't my fault (An

Honkertonken 5 Nov 17, 2022
Latest Open Source Code for Playing Music in Telegram Video Chat. Made with Pyrogram and Pytgcalls 💖

MusicPlayer_TG Latest Open Source Code for Playing Music in Telegram Video Chat. Made with Pyrogram and Pytgcalls 💖 Requirements 📝 FFmpeg NodeJS nod

Abhijith Sudhakaran 2 Feb 04, 2022
Aria/qBittorrent Telegram mirror/leech bot

This Telegram Bot written in Python for mirroring files on the Internet to our Google Drive or Telegram. Based on python-aria-mirror-bot Features: qBi

Anas 2.1k Jan 04, 2023
An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music gmusicapi allows control of Google Music with Python. from gmusicapi import Mobileclient api = Mob

Simon Weber 2.5k Dec 15, 2022
Amazon AWS Web Tool (view only)

Amazon AWS Web Tool (AAWT) discontinued Features Cloudfront (simple) EC2 (With Charts and Prices) EC2 Reserved EBS ELB (With Charts) Obs:. only classi

Carlos Augusto Malucelli 9 Nov 07, 2022
Most Advance Trading Bot Support Windows Linux Mac

GUI Pancakeswap 2 and Uniswap 3 SNIPER BOT 🏆 🥇 (MOST ADVANCE TRADING BOT SUPPORT WINDOWS LINUX MAC) (AUTO BUY TOKEN ON LAUNCH AFTER ADD LIQUIDITY) S

1 Dec 26, 2021
Elemeno.ai standard development kit in Python

Overview A set of glue code and utilities to make using elemeno AI platform a smooth experience Free software: Apache Software License 2.0 Installatio

Elemeno AI 3 Dec 14, 2022
Python Client for Instagram API

This project is not actively maintained. Proceed at your own risk! python-instagram A Python 2/3 client for the Instagram REST and Search APIs Install

Facebook Archive 2.9k Dec 30, 2022
A custom discord bot maker in python

custom-discord-bot-maker Sorry for using Translator. Each description may be inaccurate. how to use 1. Make new application at https://discord.com/dev

2 Nov 29, 2021
OGE-2022-na-Python - Solving problems in python for the OGE 2022

OGE-2022-na-Python Решение задачек на питоне для ОГЭ 2022 Тут разобраны разные в

Slava 0 Oct 14, 2022
Discord feeder for AIL

ail-feeder-discord Discord feeder for AIL Warning! Automating user accounts is technically against TOS, so use at your own risk! Discord API https://d

ail project 6 Mar 09, 2022
Student-Management-System-in-Python - Student Management System in Python

Student-Management-System-in-Python Student Management System in Python

G.Niruthian 3 Jan 01, 2022
Dashboard to monitor the performance of your Binance Futures account

futuresboard A python based scraper and dashboard to monitor the performance of your Binance Futures account. Note: A local sqlite3 database config/fu

86 Dec 29, 2022
This script will detect changes in your session using Discords built in Gateway.

Detect Session Gateway This script will detect changes in your session using Discords built in Gateway. What does this log? Discord build version Oper

Omega 5 Dec 18, 2021
Fetch tracking numbers of Amazon orders, for the ease of the logistics.

Amazon-Tracking-Number Fetch tracking numbers of Amazon orders, for the ease of the logistics. Read Me First (How to use this code): Get Amazon "Items

Tony Yao 1 Nov 02, 2021
A wrapper for aqquiring Choice Coin directly through a Python Terminal. Leverages the TinyMan Python-SDK.

CHOICE_TinyMan_Wrapper A wrapper that allows users to acquire Choice Coin directly through their Terminal using ALGO and various Algorand Standard Ass

Choice Coin 16 Sep 24, 2022
Telegram bot untuk mencari jawaban dibrainly, support inline juga

Brainly-Telebot Bot Untuk Mencari Jawaban Dibrainly Jika ingin clone. Boleh kok Dibuat dengan python menggunakan MTproto Library. Yaitu Pyrogram Bot y

... 7 Mar 17, 2022