March 9, 2015 Drawing Lines is Hard Twitter: @mattdesl Drawing lines might not sound like rocket science, but it’s damn difficult to do well in OpenGL, particularly WebGL. Here I explore a few different techniques for 2D and 3D line rendering, and accompany each with a small canvas demo. Source for demos can be found here: https://github.com/mattdesl/webgl-lines Line Primitives # WebGL includes su