Write language name in 3D ASCII: Difference between revisions

Added Wren
(Added Wren)
Line 3,634:
</pre>
 
=={{header|Wren}}==
This uses the 3D ASCII letter font [https://github.com/arpan98/3dwrite/blob/master/3d_font.txt here].
 
As Wren doesn't support 'raw' strings, I've temporarily replaced backslashes with asterisks to avoid having to escape the former.
<lang ecmascript>var w = [
" ____ ____ ____ ",
" |* * |* * |* * ",
" | * * | * * | * * ",
" * * ** / ** / /| ",
" * * *V *V / | ",
" * * /* / / ",
" * *____/ *____/ / ",
" * | | /| | / ",
" *|____|/ |____|/ "
]
 
var r = [
" _______ ____ ",
" |*__ * / * ",
" || |* */ ___* ",
" *|_| * /|__| ",
" * * // ",
" * * * ",
" * *____* ",
" * | | ",
" *|____| "
]
 
var e = [
" ___________ ",
" / _____ * ",
" / /_____* * ",
" |* _____/| ",
" | * /|____|/ ",
" * * */_______/* ",
" * *_____________/| ",
" * | | | ",
" *|____________|/ "
]
 
var n = [
" _____ _______ ",
" |*__ */ * ",
" || |* __ * ",
" *|_| * /| * * ",
" * * */* * * ",
" * * * * * * ",
" * *___* * *___* ",
" * | | *| | ",
" *|___| |___| "
]
 
for (i in 0..8) w[i] = w[i].replace("*", "\\")
for (i in 0..8) r[i] = r[i].replace("*", "\\")
for (i in 0..8) e[i] = e[i].replace("*", "\\")
for (i in 0..8) n[i] = n[i].replace("*", "\\")
 
for (i in 0..8) {
System.print("%(w[i]) %(r[i]) %(e[i]) %(n[i])")
}</lang>
 
{{out}}
<pre>
____ ____ ____ _______ ____ ___________ _____ _______
|\ \ |\ \ |\ \ |\__ \ / \ / _____ \ |\__ \/ \
| \ \ | \ \ | \ \ || |\ \/ ___\ / /_____\ \ || |\ __ \
\ \ \\ / \\ / /| \|_| \ /|__| |\ _____/| \|_| \ /| \ \
\ \ \V \V / | \ \ // | \ /|____|/ \ \ \/\ \ \
\ \ /\ / / \ \ \ \ \ \/_______/\ \ \ \ \ \ \
\ \____/ \____/ / \ \____\ \ \_____________/| \ \___\ \ \___\
\ | | /| | / \ | | \ | | | \ | | \| |
\|____|/ |____|/ \|____| \|____________|/ \|___| |___|
</pre>
 
=={{header|XPL0}}==
9,476

edits