Why does the creation of line via an array of Vector3,join the end points together?

As an aside,any cool way to represent smooth lines,or any predefined settings you reccomend?

thanks people.

Hi!
Would be cool to show what and how you have tried.

Yo!
Planning to draw latitude and longitude paths of a satellite by converting it into vectors.

i am currently drawing the curves via the below code,

let kurve = new THREE.CatmullRomCurve3(curve.current);  //curve.current represents an array of vectors
pints = kurve.getPoints(324000);
 const lineGeometry = new THREE.BufferGeometry().setFromPoints(pints);

<line

          {...props}

          geometry={lineGeometry}

          strokeLinejoin="inherit"

          strokeLinecap="inherit"

          color="red"

        >
<lineBasicMaterial

            attach="material"

            ref={material}

            lineWidth={10}

            linejoin="square"

          />

        </line>

Any suggestions?
I also require suggestions relating to animation.
Should i create a seperate thread?