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
![Drawing Lines is Hard • Matt DesLauriers](https://cdn-ak-scissors.b.st-hatena.com/image/square/824fd7577cdde35f686fd6f6974d2feea95dbe34/height=288;version=1;width=512/https%3A%2F%2Fsvbtleusercontent.com%2FHGfAt7fxMWzr1vqOAxKjXxUsrIcoR1ix6Rg_large.jpg)