Example of splitting a NURBS curve and three.js