im planning to implement the following; where you draw a line using mouse using two points,
unproject it back to 3d world and create a plane mesh from it.
unfortunately, i can only see that to create a plane in threejs, we need width, height, and segmentation count,
There may be a better way to do this, maybe updating the position attributes manually. I created a THREE.Shape to make a line. Then I extrude the line n length.
const shape = new THREE.Shape();
shape.moveTo(0, 0);
shape.lineTo(0, 5);