feat: modify embeded string
This commit is contained in:
+30
-3
@@ -66,8 +66,17 @@ class CMatrixAvatar(object):
|
|||||||
/ _____/ \ / \______ \\
|
/ _____/ \ / \______ \\
|
||||||
/ \ __\ \/\/ /| | _/
|
/ \ __\ \/\/ /| | _/
|
||||||
\ \_\ \ / | | \\
|
\ \_\ \ / | | \\
|
||||||
\______ /\__/\ / |______ /
|
\______ /\__/\ / /_______ /
|
||||||
\/ \/ \/ """
|
\/ \/ \/ """
|
||||||
|
# string = r"""
|
||||||
|
"""
|
||||||
|
________ __ ____________
|
||||||
|
/ _____// \ / \______ \
|
||||||
|
/ \ ___\ \/\/ / | | _/
|
||||||
|
\ \_\ \\ / | | \
|
||||||
|
\______ / \__/\ / /______ /
|
||||||
|
\/ \/ \/
|
||||||
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
_____ _ _______
|
_____ _ _______
|
||||||
@@ -76,6 +85,24 @@ class CMatrixAvatar(object):
|
|||||||
| | __| |/\| | ___ \
|
| | __| |/\| | ___ \
|
||||||
| |_\ \ /\ / |_/ /
|
| |_\ \ /\ / |_/ /
|
||||||
\____/\/ \/\____/
|
\____/\/ \/\____/
|
||||||
|
"""
|
||||||
|
|
||||||
|
"""
|
||||||
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
|
||||||
|
██░▄▄░██░███░██░▄▄▀██
|
||||||
|
██░█▀▀██░█░█░██░▄▄▀██
|
||||||
|
██░▀▀▄██▄▀▄▀▄██░▀▀░██
|
||||||
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"""
|
||||||
|
"""
|
||||||
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||||
|
░░░░ ░░░░░ ░░░░░░░░ ░ ░░░░
|
||||||
|
▒▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒ ▒ ▒▒ ▒▒
|
||||||
|
▒ ▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒ ▒▒▒ ▒ ▒▒▒ ▒
|
||||||
|
▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓ ▓ ▓▓▓
|
||||||
|
▓ ▓▓▓ ▓ ▓ ▓ ▓ ▓ ▓▓▓▓
|
||||||
|
▓▓ ▓▓▓▓ ▓▓▓ ▓ ▓▓▓▓ ▓ ▓▓▓▓▓
|
||||||
|
███ █████ ████████ █ █ █
|
||||||
|
██████████████████████████████████████
|
||||||
"""
|
"""
|
||||||
string = string[1:]
|
string = string[1:]
|
||||||
else:
|
else:
|
||||||
@@ -265,8 +292,8 @@ if __name__ == "__main__":
|
|||||||
cmatrix = CMatrixAvatar()
|
cmatrix = CMatrixAvatar()
|
||||||
cmatrix.set_background_string()
|
cmatrix.set_background_string()
|
||||||
cmatrix.set_embed_string()
|
cmatrix.set_embed_string()
|
||||||
cmatrix.gen_cmatrix(43//3*2, 86//3*2)
|
cmatrix.gen_cmatrix(43//1, 86//1)
|
||||||
cmatrix.show()
|
# cmatrix.show()
|
||||||
# cmatrix.substitute_all()
|
# cmatrix.substitute_all()
|
||||||
# cmatrix.centered_embed()
|
# cmatrix.centered_embed()
|
||||||
cmatrix.substitute_all_with_embed()
|
cmatrix.substitute_all_with_embed()
|
||||||
|
|||||||
Reference in New Issue
Block a user