Today I've made a simple script for printing ASCII text in console using Python. The idea is to draw the text in a prepared image, and then convert text's pixels into ASCII chars. I've used Python Imaging Library (PIL) for this.
The result of my script using "better than nothing" default font is the next:
And here the scrolling text using not default font (Arial):
The height of console is depends on the size of the font:
Source code of the script is available here: https://gist.github.com/delimitry/6a01cbe55657121a1f3d
No comments:
Post a Comment