News for hackers. Stuff that matters.
Re:How to draw oscilloscope lines with WebGL by absrnd on Saturday December 30, 2017 @03:24PM (#16037322)
"it might be weird to store the same point 4 times in a buffer, but I could not find a better way"

Couldn't you use a geometry shader to convert points into triangles (or quads)?

Re:How to draw oscilloscope lines with WebGL by DSMan195276 on Saturday December 30, 2017 @03:50PM (#16037523)
I thought the same thing, but a quick search [0] seems to indicate that geometry shaders aren't available in WebGL.

[0] https://stackoverflow.com/questions/8641119/webgl-geometry-s...