Line Width
Tap the canvas to create points. Once you have two or more points they will form a line. Drag the points around to reshape the line. Use the settings to change the line's style and behavior.
By default WebGL does not support any line width other than 1. This demo uses custom logic to draw 2D lines in WebGL with varying widths, joins, caps, and dashes.
© 2020 Dennis Rogers All Rights Reserved