I can this:
Mesh myMesh = new Mesh(this, Mesh.TUBE, 200, 200, -3.0, 3.0, -200, 200);
over translate, rotate and scale give a position.
My question: is there a possibility to handle the Mesh.TUBE like a Line?
Like e.g.:
line(0, random(height), width, random(height));