synthesizer.utils.art¶
A module containing ASCII art for pretty outputs.
Example usage:
from synthesizer.art import Art print(Art.galaxy)
Functions
- synthesizer.utils.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.utils.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