Drawing lines with thickness

I am making a 2d vector drawing in the 3d scene, and I need advice on what type of object in Babylon JS is best to use.

  1. Firstly I wanted to use the lines. But it seems that I cannot set their width of the line - line is always 1px wide.

Can I somehow do it? If not, I figure out multiple solutions, but I do not know which is the best and pros and cons of these solutions:

  1. Drawing to the texture similarly as a drawing to a 2D canvas
  2. Drawing by a ribbon
  3. Drawing with a tube
  4. Drawing with particles

Did someone from you solve a similar type of problem? Which solution did you use? Which is best for the performance?

Thanks for your advice!

Maybe you can try this: Line2D of Given Width - Babylon.js Documentation