Introduction
We all know the cool S (also known as Superman S, Stüssy S, Super S, Skater S, Pointy S, Graffiti S etc. etc.): billions of schoolchildren around the world drew this S and immediately felt proud of themselves. In case you've forgotten or had a completely uncool childhood, here is an image of said cool S:
Given a scale factor n
as input (where \$1\leq n\leq 20\$), output the Cool S in ASCII art.
How to Draw It
From the Wikipedia page on the Cool S:
Output
The Cool S when n
= 1 is:
^
/ \
/ \
/ \
| | |
| | |
\ \ /
\ \/
/\ \
/ \ \
| | |
| | |
\ /
\ /
\ /
v
And for different values of n
, you simply make the output n
times bigger. For example, n
=2:
^
/ \
/ \
/ \
/ \
/ \
| | |
| | |
| | |
| | |
\ \ /
\ \ /
\ \/
/\ \
/ \ \
/ \ \
| | |
| | |
| | |
| | |
\ /
\ /
\ /
\ /
\ /
v
Note that the vertical sections are two times longer and the spacing between the vertical lines is two times wider.
And when n
=3:
^
/ \
/ \
/ \
/ \
/ \
/ \
/ \
| | |
| | |
| | |
| | |
| | |
| | |
\ \ /
\ \ /
\ \ /
\ \/
/\ \
/ \ \
/ \ \
/ \ \
| | |
| | |
| | |
| | |
| | |
| | |
\ /
\ /
\ /
\ /
\ /
\ /
\ /
v
Note: Although not required, your code may also be able to support n
=0:
^
/ \
\\/
/\\
\ /
v
Winning
The shortest program in bytes wins.
Λ
\$\endgroup\$