Skip to content

API Index

  • gh.poem(): Creates a goem for generating ASCII art (essentially the canvas).
  • poem.margin(left=0, top=0, bottom=0): Sets margins for grid.
  • poem.point(i, j, ch): Adds character to coordinates (i,j) on grid.
  • poem.content(): Returns gylphs and grid information into string.
  • poem.print(): Prints ASCII art to console.

Library released under ISC License.