This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
//! Create a custom material to draw basic lines in 3D
/// A list of lines with a start and end position
/// A list of points that will have a line drawn between each consecutive points