gl-vis / regl-line2d

:part_alternation_mark: Draw 2d polyline with regl
https://gl-vis.github.io/regl-line2d
MIT License
59 stars 15 forks source link

Remove miter overflow artifacts #15

Closed dy closed 7 years ago

dy commented 7 years ago

image

Should be enough to take prev/next coord normals as a second cutoffs

dy commented 7 years ago

Fixed by miter clipping.