Rendering Lines and Bezier Curves in Three.js and WebGL
lab4games.net