Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

2 of 7
added 901 characters in body
dzaima
  • 20.3k
  • 2
  • 42
  • 75

Canvas, 29 bytes

ø87÷U8+{ <ibg×ばつ/n}⇵K2*∔─↶

Try it here!

Explanation:

ø push an empty canvas
 87÷U8+ ceil(input/7) + input
 { } for n in 1..the above
 <ibgyor@ in the string " <ibgyor", pick the nth character
 ×ばつ repeat n times
 / create a diagonal of that
 n and overlap it over the canvas
 ⇵ reverse the result vertically
 K take off the last line (e.g. " <ibgyor <ib")
 2* repeat that vertically twice
 ∔ and append that back to the diagonals
 ─ palindromize vertically
 ↶ and rotate 90° anti-clockwise. This rotates "<" to "v"
dzaima
  • 20.3k
  • 2
  • 42
  • 75

AltStyle によって変換されたページ (->オリジナル) /