In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes.
ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement, leading to even more widespread use.
Although hardware text terminals have become increasingly rare in the 21st century, the relevance of the ANSI standard persists because most terminal emulators interpret at least some of the ANSI escape sequences in the output text. One notable exception was the Win32 console component of Microsoft Windows before Windows 10 update TH2 https://en.wikipedia.org/wiki/ANSI_escape_code
ANSI art is considerably more flexible than ASCII art, because the particular character set it uses contains symbols intended for drawing, such as a wide variety of box-drawing characters and block characters that dither the foreground and background color. It also adds accented characters and math symbols that often find creative use among ANSI artists.
The popularity of ANSI art encouraged the creation of a powerful shareware package called TheDraw coded by Ian E. Davis in 1986. Not only did it considerably simplify the process of making an ANSI art screen from scratch, but it also included a variety of “fonts”, large letters constructed from box and block characters, and transition animations such as dissolve and clock. No new versions of TheDraw emerged after version 4.63 in 1993, but in later years a number of other ANSI editors appeared, some of which are still maintained today.
The popular game creation system (GCS) ZZT used ANSI graphics exclusively. A later GCS based on the same concept, MegaZeux, allowed users to modify the extended ASCII character set as well.
Trade Wars 2002, a multiplayer BBS game that remains popular decades after its release in 1986, used ANSI graphics to depict ships, planets, and important locations, and included cutscenes and even a cinema with ANSI animations. Many of these ANSI graphics were created by Drew Markham, who went on to form Xatrix/Gray Matter Interactive and develop Redneck Rampage and Return to Castle Wolfenstein, among other titles.
The rise of the internet caused the decline of both BBSes and DOS users, which made ANSI graphics harder to create and to view due to the lack of software compatible with the new dominant operational system Microsoft Windows.
In the end of 2002, all traditional ANSI art groups like ACiD, ICE, CIA, Fire, Dark and many others, were no longer making periodic releases of artworks, called “artpacks” and the community of artists almost vanished. Since then this form of art is no longer practiced to the degree it once was, but was still kept alive by fewer newly created groups like SENSE, 27inch and the late Blocktronics Textmode Art Collective, founded in 2008, and that currently releases artpacks created by artists from all around the world.
Nowadays ANSI graphics have a niche utility for a few telnet BBSes still active and is mainly created by artists for the sake of it and exhibited as an example of retro digital art. The creation of newer Microsoft Windows compatible software like ACiDDraw, TundraDraw and the currently most used PabloDraw, which runs on both Windows and Mac, allowed the small number of remaining artists keep creating ANSI art. https://en.wikipedia.org/wiki/ANSI_art