repositorypackage
0.0.0-20231108032300-5a4e2574c04a
Repository: https://github.com/aelious/ascii.git
Documentation: pkg.go.dev
# README
ASCII
Converts a picture to ascii art
Simply import the package and call ASCII.ConvertToAscii and include the url of a png you want to convert.
It renders pixel by pixel and can be overwhelming for large photos. Try it out with small images to start with!
The output saves in a file called asciiImg.txt. Copy and paste this into a text editor with a monospaced font for best results!
Example usage:
After Conversion:
Keep in mind these files can be massive so try to use small images. In the future I may rework this to work based on 10x10 pixels and take the average of each instead of converting the whole picture.