I tried this and found that it was very slow in both 1.11 and 2.0.
Excellent, thank you! I will make good use of this.
OK, I see. This is better than how Processing handles this. Processing draws lots of triangles for the joints, and that makes it harder to write custom shaders for lines.