generate polyline coordinates directly into an SVG, using
- begin polyline
fprintf(file, "<polyline points=\"");
- fill it with a sequence of
x,ypairs. close the polyline.
mind the sequential order of the geometry
imagine a pen drawing the shape. a new polyline is a pen up / pen down. it takes time to move across the entire canvas