How to make THREE.Line to curve a little

Hello friends,

I am using a set of points and drawing straight lines between these 3d circles using THREE.Line. Is there a way i can slightly curve each line using THREE.Line or do i need to use a different threejs class?
Here is my code:

//Note: points is just an array of Vector3 points

        const geometryln = new BufferGeometry().setFromPoints( points );
        const materialln = new LineBasicMaterial( { color: 0x7D829D } ); 
        const line = new Line( geometryln, materialln );;
        line.visible=true;
        line.geometry.verticesNeedUpdate = true;
        scene.add( line );
       

Thanks

Line is always straight, but you can use one of the curves instead.

Thanks @mjurczyk. I used CatmullRomCurve3 and it did the trick :raised_hands: