What is the best approach for using time series data to control the animation of a three.js scene?
For instance:
Time | ObjA(x,y,z) | ObjB(x,y,z) | ...
00:00:00 | 0,9,0 | 1,1,1 | ...
00:00:10 | 0.1,0,0.1 | 1,0.5,1 | ...
00:00:15 | 0.1,0.1,0.1 | 0.9,0.5,1 | ...
The data can consist of hundreds or even thousands of lines. Furthermore, the number of objects can vary from one dataset to another.
I have explored using tween.js and linking keyframes, but the idea of creating and connecting thousands of tweens during initialization does not seem like the ideal solution.
Is tween.js the most effective approach? Or is there another extension that would handle this scenario better? Are there any examples of a similar situation that could be beneficial?
UPDATE
Director.js seems capable of providing the desired outcome. However, it appears to be designed for tweening camera movement within a scene rather than controlling the movement of numerous meshes. Is chaining potentially thousands of tweens together across hundreds of meshes the optimal method for creating a scripted replay?