Skip to main content
3 of 7
added 9 characters in body
att
  • 21.7k
  • 2
  • 16
  • 62

R, 205 153 147 bytes

-52 from Dominic van Essen.
-4 from Giuseppe.

function(s){n=nchar(s)
m=matrix(" ",2*n,2*n)
for(x in 1:n){m[Re(F)+n,Im(F)+n]=substr(s,x,x)
F=F+c(0,0,2+1i,2-1i)[(-2*x^.5)%%4+1]-1}
write(m,1,2*n)}

Try it online!

att
  • 21.7k
  • 2
  • 16
  • 62