Add box designs 'cowsay' and 'tux' (from cowsay) #91

Cowsay and every cowsay implementation in a new language doesn't support different width characters, and the odds of cowsay getting an update are very low. Step on cowsay's toes and provide a cow that doesn't break for chinese, japanese, korean users. Used with permission by Tony Monroe.
This commit is contained in:
David Yang 2021-08-26 04:21:42 +08:00 committed by GitHub
parent 7f54baf409
commit a02e241cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2991,4 +2991,190 @@ END normand
# ============================================================================
BOX cowsay
author "David Yang <davidyang6us@gmail.com>"
designer "Tony Monroe"
revision "1.0"
created "2021-08-16"
tags "artwork, speech"
sample
_____________________________
/ \
| Boxes can have the cow too |
\ /
-----------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
ends
shapes {
ssw (" ",
"-----------------------",
" \\ ^__^ ",
" \\ (oo)\\_______ ",
" (__)\\ )\\/\\",
" ||----w | ",
" || || ")
n ("_",
" ")
s (" ",
"-",
" ",
" ",
" ",
" ",
" ")
sse (" ",
"-",
" ",
" ",
" ",
" ",
" ")
nw (" ",
"/")
sw ("\\",
" ",
" ",
" ",
" ",
" ",
" ")
ne (" ",
"\\")
se ("/",
" ",
" ",
" ",
" ",
" ",
" ")
w ("|")
e ("|")
}
elastic (n, s, e, w)
padding {
left 2
right 1
}
END cowsay
# ============================================================================
BOX tux
author "David Yang <davidyang6us@gmail.com>"
designer "Tony Monroe"
revision "1.0"
created "2021-08-16"
tags "artwork, speech"
sample
_________________
/ \
| Tux talks too |
\ /
-----------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
ends
shapes {
ssw (" ",
"---------------",
" \\ ",
" \\ ",
" .--. ",
" |o_o | ",
" |:_/ | ",
" // \\ \\ ",
" (| | )",
" /'\\_ _/`\\",
" \\___)=(___/")
n ("_",
" ")
s (" ",
"-",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ")
sse (" ",
"-",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ")
nw (" ",
"/")
sw ("\\",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ")
ne (" ",
"\\")
se ("/",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ")
w ("|")
e ("|")
}
elastic (n, s, e, w)
padding {
left 2
right 1
}
END tux
# ============================================================================
#EOF vim: set ai sw=4 expandtab syn=boxes: