I've been learning how to use the new JSON capabilities in Ae over this past week and while I believe I've got the linking down, I'm not sure how to animate them now.
For instance: I made a line graph, basically a line with nubs for each of the 12 months, I used the 'points follow nulls' and all that jazz, and it works great, but how can I animate a point up to the number given in my JSON file?
I've included the script (and a screen shot) for my January point. So how can I animate up to the number my JSON file is giving it, like I would if I were just animating the position with keyframes?
Are there any good places to learn tasks like this?
you could try using linear() or ease() functions...
try changing the last line to this: myYAnim = linear( time - inPoint, 0, 1, value, myYHeight ) ;
[ value, myYAnim ]
that should animate the y position from the original y value to the calculated y height over one second starting at the in point of the layer.