I am animating a logo that involves the outline of a cityscape-- The outline is being drawn and I am trying to have the camera follow the line as it is being drawn. It is very menacing the way that it's jerking around. I tried to use less keyframes, but I don't want it to be just a pan from left to right. I tried using the "roving" keyframes, but that just changed where the keyframes were located and so it was no longer following the tip of the line.
I am not quite sure how to follow the line and keep a smooth movement.
I'm not quite sure how you've animated the camera to follows the line. However if you animate a null object to all the main key points that define the cityscape line as it travels and link the camera to it, then by default you should get a fairly smooth result (if I understand correctly what your after)
(its good practice to put animation on a null rather than a camera but it should work fine on either)
If you are still getting problems, find the point in time where a problem occurs highlight the nearest keyframe, right click and choose "keyframe interpolation"
There are 3 sections in the box that appears
You need to focus on the spatial interpolation section and make sure it is set to continuous Bezier. This will allow you to alter the path of motion directly in the composition window with tangent handles for that keyframe.
Repeat on other keyframes as required.
3D animator and VFX specialist
I think you're using Bezier keyframes to do the motion. That's fine, there's no problem with that, but using them does come with a bit of a problem: AE doesn't always interpolate the motion the way you want it to. I suggest you look at these tutorials: