Polygon Fill
About
By default, WebGL does not support any line width other than 1, This demo uses custom logic to draw lines with varying widths, joins, and caps. As with most things in WebGL, these lines are modeled using triangles (as shown by the wireframe).
Directions
Tap the canvas to add a point to the line. Drag points around to reshape the line. Use the settings below to change the line's style and behavior.
© 2020 Dennis Rogers All Rights Reserved