Using Three JS to plot and animate arbitrary trajectories