title: move object in line curve in THREE.JS with tweenjs
body: <p>I have an object that is a line. I would like to make an animation with an object that will move all vertices, it can be a sphere. for that I will use tween.js. my problem is that I can not achieve all its vertices animation. how I can do to make the animation is displayed from the start point to the end ?.
  I have this code:</p>
  
  <pre><code>//myline.geometry.vertices  -&gt; array with vertices of the line (1000 vertices)
  new TWEEN.Tween( mysphere.position ).to( { x: myline.geometry.vertices[0].x, y: myline.geometry.vertices[0].y, z: myline.geometry.vertices[0].z }, 9000 ).to( { x: myline.geometry.vertices[1].x, y: myline.geometry.vertices[1].y, z: myline.geometry.vertices[1].z }, 9000 ).delay(2000).start(); 
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/SSYQ4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SSYQ4.png" alt="enter image description here"></a>
  I use the ".to" method and works well, if I put the vertices to which I want to move. method but if I have 1000 vertices, I would have to put them all. What can I do?.
  I put several spheres moving at the same distance across the line. How can I do it?.
   I need to move a sphere along a line that is a mesh and have created earlier. I need to move n number of sphere along the line, making an animation. with tween.js should be more easy..</p>