added 643 characters in body
Source Link
DJMcMayhem
  • 56.8k
  • 17
  • 181
  • 340

V, 1414, 11 bytes

ÄòGxlXkÙxHÄ$x>òlÙxHÄ$x>>ê

Try it online!Try it online!

3 bytes saved thanks to @nmjmcman!

Hexdump:

00000000: c4f2f26c 4778d978 6c5848c4 6bd92478 78483e3e c424ea 783e       .      .GxlXkl.xH.$x>$x>>.

Original approach (18 bytes):

ø..
Duu@"ñLÙxHÄ$x>

Explanation:

ò           " Recursively:
 l          "   Move one char to the right (this will break the loop if we move too far
  Ù         "   Duplicate this line down
   x        "   Delete the first character on this line
    H       "   Move to the first line
     Ä      "   Duplicate this line up
      $     "   Move to the end of this line
       x    "   And delete a character
        >>  "   Put one space at the beginning of this line
          ê "   And move to this column on the last line
            " (implicit) ò, end the loop.

V, 14 bytes

ÄòGxlXkÙxHÄ$x>

Try it online!

Hexdump:

00000000: c4f2 4778 6c58 6bd9 7848 c424 783e       ..GxlXk.xH.$x>

Original approach (18 bytes):

ø..
Duu@"ñLÙxHÄ$x>

V, 14, 11 bytes

òlÙxHÄ$x>>ê

Try it online!

3 bytes saved thanks to @nmjmcman!

Hexdump:

00000000: f26c d978 48c4 2478 3e3e ea              .l.xH.$x>>.

Original approach (18 bytes):

ø..
Duu@"ñLÙxHÄ$x>

Explanation:

ò           " Recursively:
 l          "   Move one char to the right (this will break the loop if we move too far
  Ù         "   Duplicate this line down
   x        "   Delete the first character on this line
    H       "   Move to the first line
     Ä      "   Duplicate this line up
      $     "   Move to the end of this line
       x    "   And delete a character
        >>  "   Put one space at the beginning of this line
          ê "   And move to this column on the last line
            " (implicit) ò, end the loop.
Source Link
DJMcMayhem
  • 56.8k
  • 17
  • 181
  • 340

V, 14 bytes

ÄòGxlXkÙxHÄ$x>

Try it online!

Hexdump:

00000000: c4f2 4778 6c58 6bd9 7848 c424 783e       ..GxlXk.xH.$x>

Original approach (18 bytes):

ø..
Duu@"ñLÙxHÄ$x>