-
CSV data-driven animation of position and time
I have a .csv file with multiple occurrences (rows) and to each occurrence there is an xyz coordinate and a timestamp (four columns); the time unit is frames (set at 30 fps). As in this sample but extending for thousands of rows:
x,y,z,time
0.85,-7.73,-0.36,0
0.85,-7.73,-0.36,1
2.61,-0.11,1.15,0
3.33,7.01,5.24,0
-4.12,2.41,0.89,0In After Effects I would like to have a circle show briefly for each occurrence (think many blinking lights), at the `position and time determined by the data. I’m imagining a circle shape layer showing for a duration of 2 frames, at each position, at the corresponding starting frame indicated by the fourth column.
I am having trouble writing the expression to encode this. I’ve looked for examples of expressions where data determines position and time, but unsuccessfully so far. If you have any ideas or examples you know of I would very much appreciate, thank you.