Art

    _         _
   / \   _ __| |_   _ __ ___   ___
  / _ \ | '__| __| | '__/ _ \ / __|
 / ___ \| |  | |_ _| | | (_) | (__
/_/   \_\_|   \__(_)_|  \___/ \___|

Provides functions for converting strings to ASCII art.

str_to_art : Str -> Str

Converts a string to an ASCII art representation. The art is a single string with newline chars.

str_to_art_lines : Str -> List Str

Converts a string to a ASCII art as a list of the horizontal lines which compose the art. New line chars are not included.

str_to_art_trimmed : Str -> Str

Converts a string to an ASCII art representation. Same as strToArt, but removes the top and bottomw lines if they are empty.

str_to_letters : Str -> List AsciiLetter

Converts a string to a list of AsciiLetter objects.

letters_to_art_lines : List AsciiLetter -> List Str

Converts a list of AsciiLetter objects to ASCII art as a list strings for each horizontal line of the art.

letters_to_art : List AsciiLetter -> Str

Converts a list of AsciiLetter objects to ASCII art as a single string with newline chars dividing horizontal lines.