Making animations less robotic
Making animations less robotic is really one of the core skills you want to hone when developing animations. Always stop and look at your animation; think what can be done to make it seem less repetitive or less robotic. By the end of this lesson, you'll have a good understanding about the steps you can take to make animations more engaging and natural.
Video Transcript
00:00So last we left off we had our animation going on, but we have a few problems with it one
00:05It feels a little bit programmatic obviously
00:08So let's start off with starting a play with the timing. That's the first step that I'd probably want to do
00:13So let me stop this animation and let's see. What could we do to try to create a little bit more?
00:19kind of like a
00:21Playfulness to it
00:22So if I go back and I'm just find the actual tween itself, which is happening in our creative interactive circle
00:29I'll see one of my problems are is that I'm always scaling to three
00:32So I'm creating a shape that is not changing really in dimensions too much
00:37How about we move that from being from one to three to being from?
00:42With that one maybe but it into a variant of like values from let's see from two all the way to five
00:49So to do that again, what I'm gonna have to do is I'm gonna create some sort of a scale parameter
00:53So I'm gonna be your a scale
00:56Which is gonna be a number and I'm just gonna I'm gonna say the value of two plus math times random
01:04Times three so I'm gonna add to it a value from two in the range between two to five
01:09So I'm gonna take that scale and I'm just gonna set that as my value itself now as soon as I do this
01:14It's already gonna add some more layers some more dimensions
01:19Obviously, we still have a problem that they're all doing it at the same time and we have some that are very
01:24Overwhelming right now because of that. Well, let's figure it out as we're going. All right
01:28So let's continue the next step that I'd want to do is I want to dynamically change my delay
01:33So I'm gonna duplicate that by math dot random as well
01:37And I'm just gonna make sure that there's always at least a zero dot zero five delay because I prefer having something going on
01:44In our delay now the repeats are gonna not change anything in our repeats
01:49Another thing that we could change is change our starting position
01:52So first of all, if we look at this is just by adding this delay at first
01:55They're all going to be at the same time
01:56But now they're going to start staggering along because each has a little bit of a different delay
02:01So the animation is now becoming a lot more interactive than it could have been previously
02:06Let's continue with our animations. We could still see or something generic mainly when we're talking about the timing, which is always constant
02:13So again, we could change the timing itself
02:15how about we'll start for at least they'll take this amount of time and
02:18We'll also duplicate it by the actual value instead of making it random
02:23How about we take your value of up to two seconds long and we want to duplicate it by the actual scale itself
02:30So if we know that our scale could be up to five, so I'm gonna
02:34Divide it by five now what I'm doing here is I'm taking this value which could be up to five
02:38So if it's the largest it means it's gonna be the slowest and the smaller
02:42It's gonna be the faster the animation is gonna take so let's take a look at this
02:46So now bigger items are gonna take longer to to get through while smaller items are gonna be much faster
02:52So again now it's a lot more fluid
02:55There's not much more that we need to do to create a really fluid animation
02:58The only thing I would add here is maybe some sort of changing of O to our alpha to reflect the fact that it's big
03:05So maybe the bigger it gets the smaller the alpha becomes that way we could see through it and see more things that are behind it
03:13So I'm just gonna add here another alpha property and for that alpha property again
03:17We're gonna have to take the the scale here
03:20So this time around the bigger it is the less visibility we want it to have so based on that we could say
03:27Okay, we want it to be one and we want to subtract from it
03:31Basically if I just subtract from it that scale divided by one. Let's think what will happen if it's really big
03:38It's gonna become invisible if it's really small it's gonna sub
03:42You know remove some of the visibility, but it's not gonna be that bad
03:46So if I run this again, we'll see that open. I have your little error. I didn't put your comma
03:51So I'm just gonna run it again
03:53You'll see that as the items become big they become invisible as items are smaller
03:58They're still visible, but they're faded. So it creates now this a lot more sophisticated illusion that's happening at the same time now
04:07One more thing that I want to talk about this is that
04:11Well, and by the way if I had any problems I could have started also from let's say if I wanted it to you know
04:17If I wanted to be a little bit sharper, I could always set it there and then maybe make sure that we use the math
04:24Minimum and we take this value or the value of one
04:29So we're basically taking the lower among the two and by doing that
04:32I'm gonna I'm adding less of an alpha and I could play around with it
04:35So if I want to have your let's say
04:37Like 50% less than that. I'll start from 1.5
04:41And then only our shades are gonna be between 50% alpha to 1 and there'll be a lot there are in full
04:47Alpha which are a lot smaller, but this is not the effect that I was going for maybe it is in your case now
04:54Let's continue on with this experiment with this visual experiment, which is going really really well
04:59I want to talk about one more thing that is not really necessarily or needed right now
05:04But it's kind of connected so I want you to be familiar with it or more accurately know about it
05:10And that is the capability to define a starting point for your actual animation
05:15So to do that all you have to do is add a start
05:19At and when you add the start at you could actually change the actual beginning point by adding the properties that you want to have
05:26And again, this is only for tween maps. So let's say if I wanted to start everything from scale
05:31Let's say I'm gonna start from a really massive scale. So I'm gonna start from scale X of let's say
05:3820 to 20 huge scale why we're gonna do 20 as well
05:43so I'm basically blowing out a proportion just to show you that we could basically define also starting position and
05:49And and obviously this is not really usable for us visually
05:53But I just wanted to talk about it to your familiar with it in case there is a scenario where you want to start with
05:58A starting position that doesn't make sense for our case because we're creating a kind of a yo-yo animation
06:02So I'm just gonna comment that out
06:05and that's
06:06Probably my end of the talk about customizing those little finesse stuff in our animations to create some more fluidity some more
06:14Dynamic nature to our animations where it could go on and on and on and
06:18It will not really repeat itself ever because we created a lot of small changes in our animation
06:24Really the only problem that we have right now is that our animations are very
06:28Mechanical and if you're noticing we still have even though the pulses are happening in different durations
06:34They're all kind of like leaning on each other in this aspect or another
06:38So what I would love to do is also throw them off base
06:42By going to my tune and to be able to do this. I'm gonna have to add another property here
06:47So I'm gonna take my tween itself. It's gonna be a tween max
06:50Save it as a variable and right after I create my tween max my tween max item
06:56I'm gonna go to my time property and I'm gonna change the actual value of the time that we're in
07:02so if we look into our how long is our actual animation and if I'm gonna
07:07Come here. I'm gonna see it. My actual animation time is this amount of time
07:11So I'm just gonna come here and I'm gonna take it. I call it Adam time
07:14It's gonna be a number and I'm just gonna take that value because I'm gonna really need to use it
07:19and I'm gonna paste that right there and
07:23Put it back in here instead of the value that we have here
07:26And now I could take my Adam time and say hey
07:29I want to push this somewhere in its line
07:31Which I could literally just take that value which is the total amount of time and I could duplicate it by again math that random
07:37Basically randomizing again the actual position of where it's gonna be so that way we're gonna throw it throw it where it's not gonna
07:43Start in the same position anymore
07:45But each is gonna start in a little bit different position making sure that we're starting off from a different kind of
07:51Configuration while some are growing some are getting small and it's not all at the same time
07:57And I want to do one more thing related to time
08:00We're really rolling here on things that related to time
08:02Which is I want to maybe in this scenario probably not as much needed
08:06Another property that I could work with is the scale our time
08:09So if I wanted to I could also scale the actually speed of our animation
08:14Which I personally wouldn't do this in this scenario, but I just want to show it to you
08:16So let's if I want to slow everything down. I could just go ahead and slow everything down
08:21So all the animations are gonna be running at 10% of their usual flow
08:25Or if I wanted to I guess that hey make everything five times as fast as you would have been by default
08:31Okay
08:31So what one more thing that we could do on this is literally just come here and none is necessarily relevant here because we
08:37Created a really random timing here
08:39So if we wanted to we could have changed around our animation
08:41So if we felt that it wasn't really going on to it was too fast too slow
08:45We could have sped it down or slowed it by saying okay
08:47It's you're at least one second and we're gonna skip we're gonna play around with the other value meaning that we have your three seconds
08:53in total
08:55So if I run this is the max of three seconds per animation now
08:59And that's about it
09:00But obviously that's where you would go around and you would play with the different values
09:04And we're gonna see this a lot more once we move into the tween into the timeline tweens
09:10But obviously it could definitely be useful if you're only using tween light or tween max just in this scenario
09:15We probably wouldn't use it because we wanted to create something that was so custom that each animation would have something completely different
09:22So that's it about time. This is my conversation about time and I'll leave you with the background of some art
09:27And get you ready to our next topic which we will be exploring in our next session
