Hello! I was recently able to get help on a question with p5.Geometry (here) and am back with another question:
Is it possible to use p5.Geometry to make a line drawing? In immediate mode, we can pass a parameter to
beginShape() (e.g. POINTS, LINES, TRIANGLES, TRIANGLE_FAN, etc). I see that the drawBuffers function uses webGL’s
TRIANGLES mode; is there a way to instead use
I’m new to webGL so let me know if this doesn’t make sense, or there some better way to accomplish a line drawing like this! Thanks!