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 details)
Built Distribution
ab5-0.7-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file ab5-0.7.tar.gz
.
File metadata
- Download URL: ab5-0.7.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
914a19c6effb5267827cda83dd4872bc38ceb727197d48f096cc40f8d64bb657
|
|
MD5 |
8d22acb3b01b3cd6a1b757a58c8e73f1
|
|
BLAKE2b-256 |
b619284022b4389e98b32dbb406c6d5570a38060effb8a56a7fe9fcc6d75007e
|
File details
Details for the file ab5-0.7-py3-none-any.whl
.
File metadata
- Download URL: ab5-0.7-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b59fe5494e8c216c6bc1ebb50b2df046852a8f94b9b5b43f729ed066bced181d
|
|
MD5 |
3b38cef14031c73c94df3689143ef3db
|
|
BLAKE2b-256 |
16fa8b1d466a2f5cc04ba17960135cb9e85c99f51ef0ee686085271213891a8e
|