print ascii art with gratient colors
Project description
UwU
there is vertical and horizontal gratients you can use
vertical example:
from ab5 import vgratient
logo = '''
__ __ __ __
/ / / / __/ / / /
/ / / / | /| / / / / /
/ /_/ /| |/ |/ / /_/ /
\____/ |__/|__/\____/
'''
# color in decemal rgb [red,green,blue] (max 255 min 0)
start_color=[0,223,50]
end_color=[0,25,222]
print(vgratient(logo,start_color,end_color))
horizontal example:
from ab5 import hgratient
logo = '''
__ __ __ __
/ / / / __/ / / /
/ / / / | /| / / / / /
/ /_/ /| |/ |/ / /_/ /
\____/ |__/|__/\____/
'''
# color in decemal rgb [red,green,blue] (max 255 min 0)
start_color=[0,223,50]
end_color=[0,25,222]
print(hgratient(logo,start_color,end_color))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ab5-0.7.tar.gz
(2.9 kB
view hashes)
Built Distribution
ab5-0.7-py3-none-any.whl
(3.1 kB
view hashes)