Write language name in 3D ASCII: Difference between revisions
Content added Content deleted
(Added Rust solution (message is encrypted)) |
|||
Line 2,364: | Line 2,364: | ||
<lang Phix>constant q = {0(30)10C,0(31)176,0(32)2A4,0(33)6N3,0(34)7GP,0(35)DWF,0(36)QC4} |
<lang Phix>constant q = {0(30)10C,0(31)176,0(32)2A4,0(33)6N3,0(34)7GP,0(35)DWF,0(36)QC4} |
||
puts(1,substitute_all(sprintf(join(repeat("%16b",7),"\n"),q)," 10",{"-","_/"," "})&"\n")</lang> |
puts(1,substitute_all(sprintf(join(repeat("%16b",7),"\n"),q)," 10",{"-","_/"," "})&"\n")</lang> |
||
===another version=== |
|||
Inspired by Ruby |
|||
<lang Phix>puts(1,""" |
|||
__ ________ |
|||
/_/\ / ______ \ |
|||
\ \ \/ /\____/ /\ __ |
|||
\ \ \/ / / / //_/\ |
|||
\ \ \/___/ / / \_\/_ __ |
|||
/\ \______/ / /_/\/ /\ |
|||
/ /\ ____ \ \ \ \ \/ / |
|||
/ / /\ \ \ \ \ \ \_\ / |
|||
/ / / \ \ \ \ \ \ / / \ |
|||
/_/ / \ \ \ \ \ \ /_/ /\ \ |
|||
\_\/ \_\/ \_\/ \_\/\_\/ |
|||
""") |
|||
-- or if you prefer something a little more cryptic (same output): |
|||
puts(1," __ ________\n /_/\\ / ______ \\\n \\ \\ \\/ /\\____/ /\\ __\n "& |
|||
"\\ \\ \\/ / / / //_/\\\n \\ \\ \\/___/ / / \\_\\/_ __\n /\\ \\__"& |
|||
"____/ / /_/\\/ /\\\n / /\\ ____ \\ \\ \\ \\ \\/ /\n / / /\\ \\ "& |
|||
"\\ \\ \\ \\ \\_\\ /\n / / / \\ \\ \\ \\ \\ \\ / / \\\n/_/ / \\"& |
|||
" \\ \\ \\ \\ \\ /_/ /\\ \\\n\\_\\/ \\_\\/ \\_\\/ \\_\\/\\_\\/\n")</lang> |
|||
=={{header|PicoLisp}}== |
=={{header|PicoLisp}}== |