I would like to draw a complex line and am using
E.stroke(0);
E.strokeMode(E.PERPENDICULAR);
E.strokeWeight(20);
E.strokeSpacing(14);
E.beginShape();
E.strokeWeight(20);
E.strokeSpacing(4);
E.vertex(250, 470);
E.vertex(525, 550);
E.vertex(900, 470);
E.vertex(900, 650);
E.vertex(250, 600);
E.endShape();
But the algorithms connect the last and first vertex with a stitched line.
