title: How can I draw polyline in three.js?
body: <p>I would like to draw a polyline(using x, y values) to create a shape.
  For example, when you draw a polyline with a set of coordinates
  -(0,0), (0,2), (2,0), (0,0), it will create a rectangular shape.
  How could I do it in three.js ?</p>
  
  <p>And, after drawing a shape using polyline, could I give a height (z value) to the shape and make it 3D ?</p>
  
  <p>Thanks.</p>