How can i draw a polygon in three js if i have 4 vertices

i have 4 vertices in 3d plane , and i want draw that plane in the canvas.

x,y,z
x1,y1,z1
x2,y2,z2
x3,y3,z3

can anyone give me a suggestion or explain me how to do it.

i have done something with shape geometry and box geometry was not successful

See Collection of examples from discourse.threejs.org 2017

2020-07-24 20.38.09

Note
.addAttribute is now .setAttribute

2 Likes