Skip to main content
added 15 characters in body
Source Link
Jakque
  • 2.8k
  • 8
  • 13

Python 3.8 (pre-release), 120120 118 bytes

def f(i): c=a,=["\n"] while i:c[0]+=" \\"+~i%2*"\\"+(x:=~i%2)*"/";c=[a+"";c=[a+x*"/\\"[i%2:]"+"\\",~i%2*x*(a+"\\ \\")]+c;a+=" ]+c;a+=-~x*" "[i%2:];i";i//=2 print(*c) 

Try it online!Try it online!

Output with a leading newline, some trailing whitespaces at the end of each line and with the least significant bit in the bottom left (LSB)

Python 3.8 (pre-release), 120 bytes

def f(i): c=a,=["\n"] while i:c[0]+=" \\"+~i%2*"/";c=[a+"/\\"[i%2:],~i%2*(a+"\\ \\")]+c;a+="  "[i%2:];i//=2 print(*c) 

Try it online!

Output with a leading newline, some trailing whitespaces at the end of each line and with the least significant bit in the bottom left (LSB)

Python 3.8 (pre-release), 120 118 bytes

def f(i): c=a,=["\n"] while i:c[0]+=" \\"+(x:=~i%2)*"/";c=[a+x*"/"+"\\",x*(a+"\\ \\")]+c;a+=-~x*" ";i//=2 print(*c) 

Try it online!

Output with a leading newline, some trailing whitespaces at the end of each line and with the least significant bit in the bottom left (LSB)

Post Undeleted by Jakque
added 10 characters in body
Source Link
Jakque
  • 2.8k
  • 8
  • 13

Python 3.8 (pre-release), 116120 bytes

def f(i): c=a,=["\n"] while i:c[0]+=~i%2*"c[0]+=" \\\\"+~i%2*"/";c=[a+"/ "[i%2]+"\\"\\"[i%2:],~i%2*(a+"\\ "[i%2]+" \\"]+c;a+="\\")]+c;a+=" ";i"[i%2:];i//=2 print(*c) 

Try it online!Try it online!

Output with a leading newline, 1some trailing whitespacewhitespaces at the end of each line and with the least significant bit in the bottom left (LSB)

Python 3.8 (pre-release), 116 bytes

def f(i): c=a,=["\n"] while i:c[0]+=~i%2*" \\/";c=[a+"/ "[i%2]+"\\",a+"\\ "[i%2]+" \\"]+c;a+=" ";i//=2 print(*c) 

Try it online!

Output with a leading newline, 1 trailing whitespace at the end of each line and with the least significant bit in the bottom left (LSB)

Python 3.8 (pre-release), 120 bytes

def f(i): c=a,=["\n"] while i:c[0]+=" \\"+~i%2*"/";c=[a+"/\\"[i%2:],~i%2*(a+"\\ \\")]+c;a+=" "[i%2:];i//=2 print(*c) 

Try it online!

Output with a leading newline, some trailing whitespaces at the end of each line and with the least significant bit in the bottom left (LSB)

Post Deleted by Jakque
Source Link
Jakque
  • 2.8k
  • 8
  • 13

Python 3.8 (pre-release), 116 bytes

def f(i): c=a,=["\n"] while i:c[0]+=~i%2*" \\/";c=[a+"/ "[i%2]+"\\",a+"\\ "[i%2]+" \\"]+c;a+=" ";i//=2 print(*c) 

Try it online!

Output with a leading newline, 1 trailing whitespace at the end of each line and with the least significant bit in the bottom left (LSB)