To change drawing modes, please press one of the key inputs:
  • "p" for points
  • "l" for lines
  • "t" for triangles
  • "s" for squares
  • "d" for disks
If drawing squares, press keys 1-6 to change the drawing method:
  • "1" for gl.TRIANGLES
  • "2" for gl.TRIANGLE_STRIP
  • "3" for gl.TRIANGLE_FAN
  • "4" for gl.LINES
  • "5" for gl.LINE_STRIP
  • "6" for gl.LINE_LOOP
To reset the canvas, please press "r".