Thanks for the quick answer and sorry I haven't been clear enough.
I have an array of triplets (x,y,t) where x and y are the coordinates and t is the time. Let's take as an example (0,0,0),(0,1,1),(1,1,10),(0,0,100). That means that at 0 sec I am at 0,0 then at 1 sec (0,1) and at 10 sec 1,1 to finish back at 0,0 at 100 sec.
Is there a way to implement this?