Join Tony Harmer for an in-depth discussion in this video Animating a marker, part of Drawing Simplified Maps in Illustrator.
- [Instructor] In the previous movie, I imported this file which is the trackerMap.ai exercise file. And it's exactly the same as the previous file with one exception. It's got another one of those paths that I've made by joining together copies of the underlying paths. You see, it's the gift that keeps on giving. And it's on its own layer called MotionPath, just here. So I'm going to select to that MotionPath.
I'm actually using the proxy area there of the layers panel to do that because it's the quickest, cleanest way for me to do it. And I'm going to copy that to the clipboard. I'm then going to go back to After Effects where that file is open minus the MotionPath layer there. And I'm going to click on the tracker layer. Now I want to change its position. And the first letter of position is P. If I tap P on the keyboard, it gives me the position property, showing me where that currently is right now.
And you can see the benefit there of changing it to layer sizes because otherwise, they'd all be the same size as the documents. So I'm going to click on the stopwatch which allows me to add keyframes for the position of that tracker. I'm going to click on the word position and I'm going to paste, Command + V, Control + V. And you'll notice that the path has been added to the work area here. In fact if I zoom in just a bit more, you should be able to see that really, really clearly, even if you're watching this on a device.
And a bunch of keyframes describing different positions in time have been added there as well in the timeline, just here. So first of all, what I want to do is actually get the path into the right position because it supports it within the bounds of the document there. And it actually should start just outside. So I'll change the x-value, I've hovered over that and I'm going to mouse down and drag to the left, like so. And I'm going to hover over the y-value, mouse down and drag to the left again, to bring that up.
Wow, that's a pretty good fit. Just a bit more over to the right, there we go, nice. Being able to change things by numbers, just by mousing down and dragging, I love that. So now it's in exactly the right place but it's traveling in the wrong direction. From the start of the movie, and if I play the movie out just by dragging the play head here, or the CTI, as it's actually called, current time indicator, you can see it's traveling back towards the beginning. So I can fix that with just a couple of clicks.
All I need to do is go to the keyframes, right-click, go to the keyframe assistant and choose time reverse keyframes and it swaps all of those things around. And you see, now it goes in the right direction. Well if I tap the spacebar to actually play it, you see it goes very, very fast indeed. It really is scooting along there. And I've got an easy way to fix that, as well. If I go to the last keyframe here and hold down the alt or option key, I can drag that entire range of keyframes out.
And I'm going to drag that to about 10 seconds, which is just about where I am now. You can see that in the time ruler at the top here. And it's spaced all of those things out. Let's wind the current time indicator to the beginning and hit the spacebar. So that comes in, plays like so. I think that's pretty good timing. I like it. That's going pretty well. If I needed to change anything I can always tweak the keyframes there.
In fact, you know, I'd like it to slow down just at this point here. So what I'm going to do is click to deselect those keyframes and then just move these ones back a bit. Can you see they're all moving in relation to one another now, just back a little bit, like so. Now wind that back, hit the spacebar, so here it is, up towards the top right corner. And let's do that. Ann that should, there you go, it slows down as it comes to a stop. Really nice, there you go. And it's that easy to get to grips with this. But at least you have an idea of how your work could be used by other team members working in After Effects.
It will help you to build better documents that are more suited to this kind of work.
- Understanding where your map will be used
- Finding reference material
- Using symbols and masks
- Drawing roads, rivers, buildings, and other landmarks
- Adding type
- Enhancing your map
- Adding interactivity and animation