Skip to content

Latest commit

 

History

History
107 lines (89 loc) · 4.6 KB

README.md

File metadata and controls

107 lines (89 loc) · 4.6 KB

steam-comments-ascii-art

ascii art generator for steam comments

How to run

  1. Create a new virtual environment:

    python3 -m venv venv
  2. Activate the virtual environment:

    source venv/bin/activate
  3. Install the dependencies:

    pip3 install -r requirements.txt
  4. Get your ASCII art! 😎

    python3 source/generator.py samples/lenna.png --t=120

Examples

Naruto

⢀⢀⢀⢐⡛⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⡯⢁
⢀⢀⢀⢀⢀⢁⡈⡉⡉⢁⣀⣀⣀⣀⣀⣀⣉⡉⡉⢃⡉⡛⢄⢀⢀
⢀⢀⢀⢀⢀⢀⣾⣿⢃⣿⡿⡡⢀⢀⣴⣿⣿⣿⣖⢀⢀⢀⢀⢀⢀
⢀⢀⢀⢀⢀⢀⢸⡟⢀⣿⣀⣈⢒⣠⣿⣿⣿⣿⣿⣍⢀⢀⢀⢀⢀
⢀⢀⢀⢀⢀⢀⢀⢁⢀⡉⢀⢀⢀⢀⡈⡉⡉⡉⢃⡘⢀⢀⢀⢀⢀
⢀⣀⢀⣀⣠⡤⡴⡶⣶⡀⣹⣿⣿⣿⢋⣰⡶⡶⡶⢤⣤⣤⢀⡀⢀
⢀⢀⢘⣿⣷⣶⣶⣶⣶⣼⣿⣿⣿⣿⣿⣤⣶⣾⣶⣶⣿⡿⢀⡉⢀
⢀⢀⡘⢿⣛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣛⣷⢀⢀⢀
⢀⢀⢀⢹⣟⣽⣿⣿⣿⣿⡿⡛⡛⢿⣿⣿⣿⣿⣿⣿⣻⢏⢀⢀⢀
⢀⢀⢀⢀⢻⣵⡿⢫⣿⣿⣿⣶⣶⣿⣿⣿⣯⢻⣾⣝⡟⢠⡼⣷⢀
⢀⣤⡒⢀⢀⡙⢷⣜⣿⣿⣿⣿⣿⣿⣿⣿⣗⣠⢿⢋⢀⢸⣿⣧⡀
⢹⣟⢂⡈⢀⢀⢀⡈⡛⢿⣿⣿⣿⣿⣿⢿⢋⢁⢀⢀⢀⡏⢼⣿⣷
⢀⢸⣄⢂⡀⢆⢀⢀⢀⢀⡈⡉⡉⡉⢀⢀⢀⢀⢀⡘⢀⡇⢸⣿⡇

Lenna

⣿⣿⡇⢀⢀⢀⢿⣿⣿⣿⢿⢿⣿⣿⢿⢀⢹⣿⣿⣿⣿⣦⢀⡠⢂
⡟⣿⡇⢀⢀⢀⢐⡿⢿⣿⣿⣿⣷⣭⡋⢀⢸⣿⣿⣿⣿⣿⢇⢀⢀
⢀⣿⡇⢀⢀⢀⡀⢀⣠⣿⣿⣿⣿⣿⣿⣦⢸⣿⢀⢻⡿⢁⢀⢀⣰
⢀⣿⡇⢀⢀⢸⡇⢀⣩⣾⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⡟⢀⢀⣼⣿
⢀⣿⡇⢀⢀⢸⣿⢘⣿⣿⡟⡛⡛⡛⣻⣿⣿⣿⢟⡽⢁⢀⣾⣿⣿
⢀⣿⡇⢀⢀⢀⣿⡈⢋⢀⢀⢀⣠⣿⣿⣿⣷⡘⢋⢀⢀⣼⣿⣿⣿
⢀⣿⡇⢀⢀⡴⢀⢁⢀⢀⢠⣾⡛⣉⢹⣿⢋⢀⢀⢀⣸⣿⣿⣿⣿
⢀⣿⡇⢀⢊⢀⢀⢀⢀⢠⢏⢸⣿⣿⣿⣿⣷⢀⢀⢀⣿⣿⣿⣿⣿
⢀⣿⡇⢀⢀⢀⢀⣀⡔⢁⢀⢸⣿⢿⣷⣿⢃⢀⢀⣼⣿⣿⣿⣿⣿
⢀⣿⣏⢀⢀⢐⢤⡛⢀⢀⢀⢀⡙⣷⣿⡃⢀⢀⢸⢿⣿⣿⣿⣿⡿
⡆⢸⣿⢀⢀⢀⢀⢪⢀⢀⢀⢀⣽⣿⣿⣿⣷⣄⢸⣿⣶⣤⣿⢏⢀
⣇⢸⣿⢀⢀⢀⢀⡈⢁⢀⢀⢀⣿⣿⣿⣿⣿⣿⡜⢻⢧⣿⡟⢀⢀
⢻⣸⡏⢀⢀⢀⢀⢀⢀⢀⢠⣾⣿⣿⣿⣿⣿⣿⣷⢀⢀⢋⢀⢀⢀

Mr. Incredible

⣿⣿⣿⣿⣿⣿⣀⣀⣀⣤⣶⣶⢀⢀⢀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣃⢀⢀⢀⡛⡟⢿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢀⢀⢀⢀⢀⡈⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⡿⢋⡉⢻⣿⣿⡏⢁⢀⢀⢀⢀⢀⢀⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⡇⡄⢀⢀⢀⡙⣿⡆⢀⢀⢀⢀⢀⢀⢀⣿⣿⣿⣿⣿⣿
⣏⣽⣿⣿⣧⣀⣀⢀⢀⢀⡘⣷⢀⢀⢀⢀⢀⢀⢀⢸⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⡶⢄⢀⢀⣿⡇⢀⢀⢀⢀⢀⢀⢀⢀⡈⢝⡛⡛
⣿⡿⣻⣿⣿⣿⡧⢀⢀⢀⣶⣿⡁⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀
⢋⢸⣿⣿⣿⣿⣧⣤⣴⣶⣦⣤⣤⡶⢄⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀
⢀⢀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀
⢀⢀⢀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀
⢀⢀⢀⢀⡈⢻⢿⣿⣿⣿⣿⣿⣿⣿⢁⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀
⢀⢀⢀⢀⢀⢀⢀⡈⡙⡛⡛⡛⡉⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀

Language SIMP

⣿⣿⣿⣿⣿⡟⢋⢁⢀⢀⢀⣀⣀⣀⢀⢀⡈⢿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⢇⢀⢀⢀⢴⣶⣿⣿⣿⣿⣿⣿⣷⣦⣈⢻⣿⣿⣿⣿⣿
⣿⣿⣿⢋⢀⢀⢀⢀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⡻⣿⣿⣿⣿
⣿⣿⡏⢀⢀⢀⢀⢀⡘⢿⢿⣿⣿⢿⢿⢿⣿⣿⣿⣿⢀⣿⣿⣿⣿
⣿⣿⣷⢀⢀⢀⢀⢀⢀⢀⢀⢹⣷⣤⢀⢀⣀⣿⣿⣿⢀⣿⣿⣿⣿
⣿⣿⣿⡀⢀⢀⢀⢀⢀⢀⢀⢀⣿⣷⣄⣠⣿⣿⣿⣿⢰⣿⣿⣿⣿
⣿⣿⣿⢃⢀⡘⢀⢀⢀⢀⢀⢀⣿⣿⣿⣿⣿⣿⣿⣿⡷⢸⣿⣿⣿
⣿⣿⣿⡄⢀⢀⢀⢀⢀⢀⢀⢀⢸⢿⣿⣿⣿⣿⣿⣿⡇⣿⣿⣿⣿
⣿⣿⣿⣷⡀⢀⢀⢀⢀⢀⢀⢀⢀⢀⡈⡛⢻⣿⣿⣿⢀⣿⣿⣿⣿
⣿⣿⣿⣿⣷⢀⢀⢀⢀⢀⢀⢀⢀⢶⣶⣤⢀⡉⡈⢁⢰⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣦⢀⢀⢀⢀⢀⢀⢀⢸⡿⢋⢀⢀⢀⢀⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣆⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⢀⣠⣿⣿⣿⣿⣿⣿
⣿⣿⣿⢿⢋⢁⡘⢀⢀⢀⢀⢀⢀⢀⣀⡤⢀⣴⣿⣿⣿⣿⣿⣿⣿

References