Hi everyone, we're going to make this little gradient... blurry background animation thing... we're going to be kind of borrowing it... from this site here, stripe.com... everyone loves this, animated gradient, can you see it moving the background... we are going to do it the quick and easy, and dirty way...
to start with, we're just going to animate an image... mainly to flex our animation skills... remind ourselves of all those things we did in the Essentials course... make sure we're all at the same place... and we'll get more and more advanced with gradient meshes and good stuff... loads of good shortcuts in here as well...
but yeah, let's go make this in Figma. Let's start by making our Welcome screen, we're going to do it down here... 'F' key, I'm going to use the phone, iPhone 14, going to go in a random spot... I'm going to start him down here, I'm going to give him a name... it's going to be my "Welcome Screen"... this is going to be "Welcome Screen 01"...
we're going to do frame by frame in this animation... and then I'll show you how to do it fancier in an upcoming one. I want all the details from this, so I'm going to go... I'm going to select this Frame... because I want the rounded corners and the background color... so I'm going to go 'Command Option C' for copy, that's 'Ctrl Alt C' on a PC...
and those same keys, plus 'V'... will give me my background color, and give me my rounded corners, nice. Let's use a plugin... now there's a couple of plugins to get the abstract picture we're going to use... we're going to animate that picture instead of doing them all separate... which we'll do in a little bit, start the easy way, get more complicated.
Now I'm just going to use Unsplash, and just get... commercial use images for this one get an abstract background... if you type in "gradient" in the search... you'll find there's a lot of gradient makers... up to you how custom you want to go... not really required because we can draw our own gradients...
but let's just start with an image... so Unsplash, and I'm going to use 'Abstract'... and I'm just going to use this first one. Now I don't want to put it in the background of this... because I want to animate it... so I don't want it to be a background of this screen...
so I'm going to grab my 'F' tool, for a frame... draw it bigger than my phone, because I want to kind of move it around in there... with it selected, click on that, and let's see, there we go... actually, I probably want to be able to see all the different colors... so I can move it around... and I need to close down my plugin...
and I need to make sure it's inside the frame... so you, it's kind of done the wrong one... because I drew the frame around the phone... kind of mixed it up, so I'm going to drag it above... I'm not, Welcome screen, get out of there, please, there it is. Can you see the little line that appears, so it won't do it again now...
so inside, outside, there we go, and you can go inside now... there's a better one, can you see the little line there... the editor will zoom in, look, outside, inside. This frame is going to be called "Gradient", let's add some text... now I've added some text, the one thing that happened is... it automatically put it inside of the frame that I call Gradient...
just because I drew inside of it... so I'm going to drag it out so that it is not inside the gradient... it is just alongside it, and I need it to be above, here we go. So I'm going to have two of these, 'Command D', or 'Ctrl D' on a PC... it's renamed it nicely, 1, 2, Screen 2... now I just need to change them, so I'm going to click on the gradient itself...
and you can do anything, just the subtle small rotation... looking at the wrong one, I want this one... and I want, what am I going to do? I'm going to move it... and I'm going to rotate a little bit... and probably scale it a little bit as well.
Another trick here is to connect these two up with, 'Shift 2'... I want to switch over to Prototype... so we're going to learn a shortcut have we done it yet? I'm not sure, 'Shift E'... Shift E toggles between Design and Prototypes, probably... once you get to this kind of later stage in a design...
you end up toggling between the two loads ... there are different shortcuts for it, use those if you know it... but Shift E is just a good toggle, so be on Prototype... click on this frame here, and I want to say, you go to this one... and you might have the same problem as me... I've never noticed this before this course...
but with this big background image in here I can't grab that little dot... it keeps jumping to the-- '-', '-'... you can see, it's jumping to the outside frame. So what I am going to do right now is I'm going to select on that Gradient 01... and I'm just going to lock it, which is 'Command Option L', 'Ctrl Alt L' it is not, it's 'Command Shift L'... so 'Command Shift L', 'Ctrl Shift L' on a PC...
is it a shortcut you use loads? I'll add it to the shortcuts sheet... just means, now, it's not going to try and click on it... so now, you see, there's my little dot that I wanted, you, go there... what I want you to do, not On Tap, 'After a Delay'... hang around a bit, how long?
I actually want to just get it to zip over... I don't want it to wait on the screen very long... I just want to get straight over here... but how does it get there, not instantly, I wanted to get device Smart Animate... and Smart Animate's going to just... look at the things that have changed and animate between them...
and in our case the text hasn't changed but the background image has... how long do I want it to go? Let's just leave it as the default and have a little look. Another shortcut we're going to learn through this course... is 'Ctrl Alt Enter', the Enter key on your keyboard is to preview... another really handy one, too much shortcuts, okay...
it's all right, I'll try and, I don't know, introduce them better. Can you see this one here, let's have a look, I'm going to go back one... took a while to load, that's why I didn't see it, and it's just not very nice... if yours jumped to some other page... what you need to make sure is when you hit Preview... just have that first screen selected, then hit Preview...
and what I need to do is I need this animation here to go from, not Delay... well, go from Smart Animate, I'm going to Ease In and Out because it looks nice... and how long? There is 1000 milliseconds in a second... so I want to go like 5 seconds, even longer, let's try 50 seconds... so you can hit the 'Play' button if you're not sure where the presenters...
you can see the shortcut there... but we're going to use 'Command Option P', 'Ctrl Alt P'... that opens the last plugin... so the same two keys, but use Enter, not P, Dan, come on... all right, let's preview it. It takes a while to load that giant image...
so in my case I can't just like let it go... because it's like half stuck between this, so I'm going to hit 'Back' button... looks like it's animating, and moving, and doing stuff... look at that, cool, huh. We didn't actually have to do much, two frames, somebody else's image... really easy to implement as well on the development side...
it's just an image moving... a little bit of scale and rotation, which is easy to do. All right, that is it, I'm going to add a bit more pizzazz... by selecting this one, going to hit 'Command D' to get another version of it... and with this one here I want to loop back to the beginning... first of all I'm going to have to start locking some of these...
actually, I need to animate this gradient before I lock it... and I'm going to try and guess something cool, but oh, good point... how do I get it from stop jumping around, what's going on? Does anybody remember the shortcut to kind of stick things inside the frame? That's right, once you start dragging, hold 'space bar'... and then it will stay in that frame...
"Oh, what a great use of that shortcut, Dan"... I pretend like that was part of my notes there... yeah, that's good enough... did I rotate it? I can't remember, scale it as well... I need to make sure that you...
go to Prototype mode, I can't quite see that dot again, why? Oh, it's that thing in the background, this doesn't normally happen... let me know in the comments if you're like... "Yeah, it's happening to me too," or, "It's just you, Dan"... so I'm selecting my gradient in this one, who remembers the shortcut? That's right, 'Command shift L' for locking...
you'll never remember them all, that's okay... I'm going to do my best to like beat them into you... let's lock them all... the locking icon, you can just click that, obviously, as well... and now I want to say, you... I can't really see the dot, I can see the dot, there we go...
it's just a little bit hard to see. Make sure you remember the last thing you did... did I do 10,000 seconds, or did I do 10 seconds, no, I did 50, didn't I? No, it didn't... you cannot do that high, watch this... there we go, we all learned something today.
I just think you go as high as you want, nope, 10 seconds... so let's do that, and I want it to loop back to the beginning... so I want you just to go back to there when it's finished, using the same things. Let's hope this looks good, click on the first screen... 'Command Option Return', 'Ctrl Alt Enter' on a PC... sometimes I've got to give this thing a bit of a jiggle...
go back to my first screen... kind of doing stuff, it's changing color, it's moving around slowly, gradually... there's just an image moving around, which is quite cool... and it's not quite working, let's debug it... why are you getting there and stopping, so goes, you... you, you, did this one...
go back to that screen, Smart Animate you, 'On Tap', a-ha... 'After Delay', did it do the same one on this one... "Is any of this working, Dan?" you, 'On Tap'... and image, well, it's working... good work, Dan. The other thing that might be different from yours...
you might have seen all of your screens when you went into here... and it might have launched on some random screen instead of that first one here... when you hit 'Back' button it grabs them all... so just remember that you can actually select this first screen... and start a flow, you can say-- it sometimes does it automatically, sometimes it doesn't... so you can say, start flow...
so when you're selecting this one, it's not going to jump around these other frames... it's just going to start at that one... which makes it easy, when you want to restart... which is the 'R' key, can you see down here? 'R' key, let's go... it's okay, it needs to rotate more, and scale more...
I bet you yours looks better, so find a different image... I'm going to try it back and fix mine, you wait there. Actually, one thing before I do that I want to just point out... that there is the option to use this back option you're like, "Oh, just do that"... it's not going to work, what we want to do at the moment, we'll do it later on... it's amazing for like advanced prototypes...
but for the moment all it does is goes back to the frame that it came from... so it's not going to go back to the loop, it's going to go back just to this one... so it's going to go along here, then back to that, and it's not that useful... when we learn sections in a little bit... we do some advanced prototyping, that's super awesome... don't use it for the moment though, just go back to this one here.
All right, carry on with the video... so I went back and kind of played with it... and I bet you you're going to do a better job, mine just looks like it's moving... so have a play around with it, you'll get it to feel like it's scaling, and stuff... that's kinda better, getting there, but anyway. All I did was, yeah, go back and scale, and change the rotation a little bit...
there's a lot of trial and error. I'm going to do one last thing together with this... let's blur it... so what we're going to do is grab all of the Welcome screens... you, you, and I'm going to go 'Shift E', go back to Design... and let's add an effect to them all, not Drop Shadow...
'Layer Blur', grab this option and crank it up to-- I'm just going to drag it... and, there we go... and let's see if it makes it any better... 'Command Option Enter', 'Ctrl Alt Enter' to preview... after restarting, I'm not sure why that is happening, oh, so much better... here we go.
Can't wait to see what you're going to do, we'll do a class project next... and I'll get you to make one, or at least present your one... so I can see somebody's better one than mine... all right, I'll see you in the next video.