Skip to main content
3 of 4
added 5 characters in body
flawr
  • 44.1k
  • 7
  • 109
  • 253

Octave, 37 31 bytes

This function performs a morphological dilation on the Astan (1-b) part of the "image" using conv2 imdilate, and then uses some arithmetic to make all three areas different symbols.

@(b)imdilate(1-b,ones(3))-1+2*b 

Try it online!

flawr
  • 44.1k
  • 7
  • 109
  • 253