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

Weird artifact on some hardwares #42

Open etpinard opened 5 years ago

etpinard commented 5 years ago

See https://codepen.io/anon/pen/yZpXZE?editors=1010 which results in something like

image

(noticed that weird final red line segment) on some (macOS?) hardware.

See https://github.com/plotly/plotly.js/issues/3522 for more details.

dy commented 5 years ago

That can be related with wrong handling of tail vertices. I noticed similar artifact too in related component gl-waveform. I'd estimate that 3-4 hours of work.

mofojed commented 5 years ago

Let me know if there's anything else I can do to help test it out!