Skip to main content
5 of 6
edited body
DavidC
  • 25.4k
  • 2
  • 52
  • 105

#Mathematica 101 99 98

This rasterizes the expression, obtains the binary image data, converts each 1 to "#", each 0 to "" (empty space) and displays output in a 12 by 130 character grid.

GraphicsGrid[ImageData@ImageResize[Binarize@Rasterize@Style["Hello-World!",99],130] 
  /.{1→"",0→"#"}]

hello

One character economized thanks to Jonathan Van Matre.

DavidC
  • 25.4k
  • 2
  • 52
  • 105