synthesizer.art

A module containing ASCII art for pretty outputs.

Example usage:

from synthesizer.art import Art print(Art.galaxy)

Functions

synthesizer.art.get_centred_art(art, width)[source]

A function to print the art centred in a width.

Parameters:
  • art (str) – The art to be centred.

  • width (int) – The number of characters in the region to centre within.

Returns:

string

The Art.galaxy art centred within width.

synthesizer.art.print_centred_art(art, width)[source]

A function to print the art centred in a width.

Parameters:

width (int) – The number of characters in the region to centre within.

Classes

class synthesizer.art.Art[source]

A class containing art.