/Art_Generator

Discord ANSI Art Generator – a tool for creating ANSI art compatible with Discord, allowing you to generate vibrant text-based images for chats and messages

Primary LanguagePythonMIT LicenseMIT

Discord ANSI Art Generator

Make beautiful arts in Discord using ANSI and Python

🔱 Table of Contents

🥽 Requirements 🔼

🔮 Installation 🔼

📦┃Linux/macOS

git clone https://github.com/satrak33/Art_Generator
cd Art_Generator
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

📦┃Windows

git clone https://github.com/satrak33/Art_Generator
cd Art_Generator
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

🎮 Usage 🔼

Tool supports 9-bit, 6-bit and grayscale modes. After script finished, result will be copied to clipboard

Using with CLI

python main.py

Using without CLI

python main.py PATH_TO_IMAGE --size 800 --mode 9-bit 

Using directly in IDE

🚧 Warnings & Tips 🔼

🎈 Tips:

  • You can right-click in cmd or powershell to paste the path
  • The optimizing algorithm works better with pictures that have one dominating color
  • The 6-bit color mode is more suitable for black and white images

🔥 Warnings:

  • Don't use huge custom lengths, it will take a lot of time, and time will increase in geometry progression
  • ANSI doesn’t support purple
  • IDE's terminals don't support SLI

🌠 Plans 🔼

  • Try to add more color modes by making automatic algorithm
  • Create Discord application
  • Create site using GitHub Pages

📝 License 🔼

You can read license here

💽 Examples 🔼

Disnake logo (mod: 9-bit)

Isagi eye (mod: gray)

Meteor (mod: 6-bit)

🎨 Colors 🔼

9-bit

6-bit