Skip to content

non-closed shapes with E.strokeMode(E.PERPENDICULAR) have connecting line #101

@stephanschulz

Description

@stephanschulz

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.

Screen Shot 2020-09-12 at 2 08 23 PM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions