less_retarded_wiki/ascii_art.md

55 lines
2.8 KiB
Markdown
Raw Normal View History

# ASCII Art
ASCII art is the [art](art.md) of manually creating graphics and images only out of [fixed-width](fixed_width.md) [ASCII](ascii.md) characters. This means no [unicode](unicode.md) or extended ASCII characters are allowed, of course. ASCII art is also, strictly speaking, separate from mere [ASCII rendering](ascii_rendering.md), i.e. automatically rendering a bitmap image with ASCII characters in place of [pixels](pixel.md), and ASCII graphics that utilizes the same techniques as ASCII art but can't really be called art (e.g. computer generated diagrams). Pure ASCII art should make no use of [color](color.md).
This kind of art used to be a great part of the culture of earliest [Internet](internet.md) communities for a number of reasons imposed largely by the limitations of old computers -- it could be created easily with a text editor and saved in pure text format, it didn't take much space to store or send over a network and it could be displayed on text-only displays and terminals. The principle itself predates computers, people were already making this kind of images with type writers. Nevertheless the art survives even to present day and lives on in the hacker culture, in [Unix](unix.md) communities, on the [Smol Internet](smol_internet.md) etc. ASCII diagram may very well be embedded e.g. in a comment in a source code to explain some spatial concept -- that's pretty [KISS](kiss.md). We, [LRS](lrs.md), highly advocate use of ASCII art whenever it's [good enough](good_enough.md).
2022-10-27 23:45:55 +02:00
Here is a simple 16-shade ASCII [palette](palette.md) (but watch out, whether it works will depend on your font): `#OVaxsflc/!;,.- `. Another one can be e.g.: `WM0KXkxocl;:,'. `.
2022-09-06 21:53:31 +02:00
```
_,,_
/ ';_
. ( 0 _/ "-._
2023-10-30 21:42:20 +01:00
|\ \_ /_==-"""' .~~~~~~~~;~~~~~~~~.
| |:---' ( | ASCII | tables |
\ \__." ) Steamer |========I========|
'--_ __--' Duck! | are | |
|L_ |--------{ =) |
| the | |
|--------+--------|
[] [][][][][] | best | tables |
[][][] [][] |________|________|
[][] []
[] XX XX[]
[] XXXX []
[][] []
[][][] [][]
[] [][][][][]
2023-10-30 21:42:20 +01:00
SAF FTW
^
|
| _.--._ _.--._
| .' '. .' '.
|/__________\____________/__________\______
| \ / \
| '. .' '.
| `'--'` `'-
|
V
2023-07-02 14:32:10 +02:00
("\/") ("\/") ("\/")
\ / \ / \ /
\ / \ / \ /
\/ \/ \/
```
## See Also
- [ANSI art](ansi_art.md)
- [pixel art](pixel_art.md)
- [plain text](plain_text.md)
- [cowsay](cowsay.md)
2023-07-02 14:32:10 +02:00
- [figlet](figlet.md)