Create a 3D plane and plot the line on it

Hello Folks,
Hope you all are doing great.

I am a newbie in three.js and trying to make something like this.
I want to create a 3D plane with x,y and z axis and then want to plot a line between 2 points on mouse click (points can be plotted using the mouse click).

Thankyou in advance for any help.

Maybe these examples from the collection will help you?

ColoredGridWithSprites
PointInPolygon
ConstructionBasis

or
Construction of frames with contour/profile

2 Likes

Thanks a ton for your help. but my requirement is not fulfill.
Want to plot a line between 2 points on mouse click (points can be plotted using the mouse click)

Ref Scr.

Thankyou in advance for any help.

This example shows some lines on a plane. Lines are created using mouse clicks.
image

2 Likes

thanks for your valuable time.

Thankyou in advance. How the number in a grid will be change/increase/decrease while scroll up and down in a 3D graph?
Reference SS