Skip to main content
Participant
September 23, 2021
Answered

Move Position : 2D shape follows X,Y position is .CSV file

  • September 23, 2021
  • 1 reply
  • 456 views

Hello , every one , I am newbie on AE 
I would like to ask , can I move 2D shape follow X,Y position in .CSV file ? 
If I have .csv file like this  
X           Y 
230        450
150        230
..             ...
Need to put in script ?  or any suggestions ?  Thank you so much 

This topic has been closed for replies.
Correct answer Rick Gerard

Extracting data from a comma delimited text file using JSON is easy. The part you need to figure out is how much time passes between each move. There are some good resources in the user manual on using JSON files and animating with data. For us to help you on the forum, we need to understand exactly what you want to do in detail. For example, if you said I have a spreadsheet with the price of a stock over the last 12 months and I want to animate a bar chart that shows that change over seven seconds, we could come up with an expression that would do that.

 

This is a decent tutorial on the process:

1 reply

Rick GerardCommunity ExpertCorrect answer
Community Expert
September 23, 2021

Extracting data from a comma delimited text file using JSON is easy. The part you need to figure out is how much time passes between each move. There are some good resources in the user manual on using JSON files and animating with data. For us to help you on the forum, we need to understand exactly what you want to do in detail. For example, if you said I have a spreadsheet with the price of a stock over the last 12 months and I want to animate a bar chart that shows that change over seven seconds, we could come up with an expression that would do that.

 

This is a decent tutorial on the process:

Participant
September 23, 2021

Dear Rick Gerard , Thank you so much for your  replying 
I will check the video , it seems really helpful 
I only want to animate a ball follows the x , y position per frame 
I already have data from excel sheet  like this ; 
Frame  position  x    position y 
1           100               200
2            200              400 
3            300              500
Best regards