Ganners / ascii-art-values

Use Go to generate a table of rune values for use in ASCII art

Home Page:http://www.ganners.co.uk/#!/blog/terminal-game-1-determining-ascii-values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASCII Art - Values

When drawing ASCII art, each character can be treated as a pixel. It will have a particular value which determines it's brightness and so on (at least when programatically drawing an ASCII image).

This will determine the values of a large number of pixels, and will generate a table from value (0 -> 255) to a rune value which can be printed on-screen.

To try out the examples, simply go run example/*.go with whichever file you please. The image-to-ascii.go demonstrates a practical use.

About

Use Go to generate a table of rune values for use in ASCII art

http://www.ganners.co.uk/#!/blog/terminal-game-1-determining-ascii-values


Languages

Language:Go 100.0%