All language subtitles for 0006_Animations

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish Download
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,256 --> 00:00:02,560 Delicious unwell going to do animations 2 00:00:02,816 --> 00:00:08,960 Waiting my son because one brother is cool but obviously want to anime things you want to see your 3 00:00:09,216 --> 00:00:10,752 Is your house your spaceships 4 00:00:11,008 --> 00:00:13,568 Move you want to have control over the camera 5 00:00:13,824 --> 00:00:16,128 You're going to do this kind of thing but trust me 6 00:00:16,384 --> 00:00:18,176 We need to learn how to animate 7 00:00:18,432 --> 00:00:19,456 Insidious 8 00:00:19,712 --> 00:00:23,808 Animating in fridges is like doing stop motion 9 00:00:25,344 --> 00:00:28,928 Actually a most animation in Javascript works like this 10 00:00:29,184 --> 00:00:29,696 You just 11 00:00:29,952 --> 00:00:30,976 Move things 12 00:00:31,488 --> 00:00:32,512 Take a pictures 13 00:00:32,768 --> 00:00:34,304 Move things remote 14 00:00:34,560 --> 00:00:36,864 Take a picture of move things anymore 15 00:00:37,120 --> 00:00:38,144 Take a picture of 16 00:00:38,400 --> 00:00:44,032 Daddy is that you are going to take a lot of picture as well going to take something like 60 17 00:00:44,288 --> 00:00:46,848 Picture of special which is a lot 18 00:00:47,104 --> 00:00:47,872 Actually 19 00:00:48,384 --> 00:00:51,968 Some computers can run at more than 60 pictures 20 00:00:52,480 --> 00:00:58,112 Were talking about FPS I'm not talking about the games FPS I'm talking about the frame 21 00:00:58,368 --> 00:00:59,136 As 22 00:00:59,392 --> 00:01:02,061 So this computer I'm looking at right now run at 60 frames per second 23 00:01:02,063 --> 00:01:04,411 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 24 00:01:04,412 --> 00:01:07,584 Computers that can run at a higher firm 25 00:01:07,840 --> 00:01:09,376 Gaming computers 26 00:01:10,400 --> 00:01:11,168 And sometimes 27 00:01:11,424 --> 00:01:17,568 The computer can run at a lower from my butt is really that mean that you have performance issues and you have 28 00:01:17,824 --> 00:01:21,408 Frame rates problem and maybe you need to change something 29 00:01:21,664 --> 00:01:23,200 Your code on your computer 30 00:01:23,456 --> 00:01:25,760 Anyway the problem we have here 31 00:01:26,016 --> 00:01:31,136 That we need the admission to look the same regardless of the frame rate 32 00:01:31,392 --> 00:01:35,744 Because if we are moving the same distance that basically I'm moving to q 33 00:01:36,000 --> 00:01:37,536 If we move the cube like 34 00:01:37,792 --> 00:01:40,608 I don't know 10 cm between each frame 35 00:01:41,888 --> 00:01:42,400 There is 36 00:01:42,656 --> 00:01:45,472 High frequency for the frames 37 00:01:45,728 --> 00:01:47,776 The Cube with go out 38 00:01:48,032 --> 00:01:48,544 Quick 39 00:01:48,800 --> 00:01:49,568 Pasta 40 00:01:50,080 --> 00:01:51,616 Any free Avenue Frimley 41 00:01:51,872 --> 00:01:52,640 The Cube 42 00:01:54,432 --> 00:01:54,944 Slowly 43 00:01:55,456 --> 00:01:58,528 And at the end we will see a different animation 44 00:01:58,784 --> 00:02:00,064 You not feel the same 45 00:02:00,320 --> 00:02:05,440 We need to find a solution to have the same result and we will talk about this in this lesson 46 00:02:07,488 --> 00:02:12,864 To do this on each frame as well going to create is function 47 00:02:13,120 --> 00:02:18,496 And we're going to put the object movement in that function 48 00:02:18,752 --> 00:02:22,080 Enter called the Rhondda in that function and then we are going to call 49 00:02:22,336 --> 00:02:23,104 Fraction 50 00:02:23,616 --> 00:02:28,480 On each frame and to do that we're going to use request animation frame 51 00:02:29,504 --> 00:02:34,624 Ok let's talk about this set up so I don't know the usual 52 00:02:35,392 --> 00:02:36,160 Starter 53 00:02:37,184 --> 00:02:42,304 I'm taking it I'm doing it quite fast because now you know how to do this 54 00:02:43,584 --> 00:02:45,888 In the Nexus on don't think I will be doing this 55 00:02:46,912 --> 00:02:49,216 Open the 10 minutes we can go to view 56 00:02:49,472 --> 00:02:50,240 Terminal 57 00:02:51,008 --> 00:02:53,824 And beautiful you just run npm 58 00:02:54,336 --> 00:02:55,360 Install 59 00:02:55,872 --> 00:02:58,432 If we install all dependencies we need 60 00:02:59,968 --> 00:03:01,504 Just wait 1 minutes 61 00:03:02,784 --> 00:03:04,064 Maybe just a few seconds 62 00:03:06,624 --> 00:03:08,160 Fast car 63 00:03:09,696 --> 00:03:10,464 And run 64 00:03:10,720 --> 00:03:11,488 MTM 65 00:03:11,744 --> 00:03:14,304 Run Devon should be opening 66 00:03:14,816 --> 00:03:16,864 Inside your brother 67 00:03:21,472 --> 00:03:25,056 Great it's working so as you can see we have the same tube as before 68 00:03:25,312 --> 00:03:27,104 And we are going to animated tube 69 00:03:27,360 --> 00:03:27,872 Final 70 00:03:29,408 --> 00:03:35,552 Alright let's talk about requesting animation friend I don't need my terminal anymore so I can hide it 71 00:03:35,808 --> 00:03:37,600 The running I'm going to need it 72 00:03:37,856 --> 00:03:38,624 A l 73 00:03:39,136 --> 00:03:40,928 But right now I don't 74 00:03:41,696 --> 00:03:43,488 So I can open the 75 00:03:43,744 --> 00:03:44,768 Group that yes 76 00:03:46,048 --> 00:03:47,072 Always 77 00:03:47,584 --> 00:03:50,656 And we are going to discover what is requestanimationframe 78 00:03:50,912 --> 00:03:53,728 Maybe you're a radio but I have a few things to tell you about this 79 00:03:54,240 --> 00:03:57,312 Best the.purpose.of requestanimationframe 80 00:03:57,568 --> 00:04:00,128 Is to call and function you provided 81 00:04:00,640 --> 00:04:01,664 On the next 82 00:04:02,432 --> 00:04:06,528 No requestanimationframe purpose is not to do animation 83 00:04:06,784 --> 00:04:11,648 Some people might tell you that the motion frame is for doing animations 84 00:04:11,904 --> 00:04:12,416 Belron 85 00:04:12,672 --> 00:04:14,976 The main purpose of initial purpose 86 00:04:15,232 --> 00:04:16,768 Is to call a function 87 00:04:17,024 --> 00:04:18,815 On the next just Once 88 00:04:19,327 --> 00:04:20,351 Provide the function 89 00:04:20,607 --> 00:04:22,655 This one will be called once 90 00:04:22,911 --> 00:04:24,447 On the next train and that's all 91 00:04:24,959 --> 00:04:27,263 The idea that we are going to Crete in France 92 00:04:27,775 --> 00:04:28,543 Call it 93 00:04:29,055 --> 00:04:34,431 In dysfunction we are going to say requestanimationframe that's in function 94 00:04:34,687 --> 00:04:37,247 Meal.on the next train it will be called 95 00:04:38,783 --> 00:04:42,623 There will be still the requesting machine frame meaning that this one will be called 96 00:04:42,879 --> 00:04:43,391 Again 97 00:04:43,903 --> 00:04:45,695 Then again again on each frame 98 00:04:46,207 --> 00:04:48,511 We can use liquid formation trying to do that 99 00:04:48,767 --> 00:04:49,791 To do animation 100 00:04:50,047 --> 00:04:53,631 The ins proposes to call a function on the next 101 00:04:54,143 --> 00:04:54,911 Play Let It Go 102 00:04:55,423 --> 00:04:57,983 We can do that I'm going to put 103 00:04:58,239 --> 00:05:00,031 Micro at the end 104 00:05:00,287 --> 00:05:01,567 I'm going to cut it 105 00:05:01,823 --> 00:05:03,359 Admissions yeah why not 106 00:05:04,127 --> 00:05:09,247 You can create a function so I'm going to use the factor Robert obviously you can do functions 107 00:05:09,503 --> 00:05:11,295 Wake me up after 2 years factory 108 00:05:12,063 --> 00:05:15,391 I'm going to detail some why I prefer that 109 00:05:15,647 --> 00:05:16,671 That's not the sea 110 00:05:17,183 --> 00:05:18,719 We want to focus on 3GS 111 00:05:19,231 --> 00:05:23,583 I created in my function and I can call this function rhino 112 00:05:24,607 --> 00:05:27,679 Like this and insider from translate shows 113 00:05:27,935 --> 00:05:29,215 Teak as a name 114 00:05:29,471 --> 00:05:33,311 You can choose anything you can put them 115 00:05:33,567 --> 00:05:36,127 Game loop assembly security lock 116 00:05:36,383 --> 00:05:37,407 Luke 117 00:05:37,663 --> 00:05:42,015 Anything you want ok me I prefer to cut it because it's winter 118 00:05:42,271 --> 00:05:43,295 Honest friend so 119 00:05:43,807 --> 00:05:45,087 Like a dino something like that 120 00:05:45,343 --> 00:05:47,647 An Insider from China going to go 121 00:05:47,903 --> 00:05:49,439 Cancel log 122 00:05:49,695 --> 00:05:50,207 Tick 123 00:05:50,463 --> 00:05:51,487 I just want to tell 124 00:05:51,999 --> 00:05:55,071 The requestanimationframe thing 125 00:05:55,327 --> 00:05:58,655 How do you say you have to attend a console and go to the concert 126 00:05:58,911 --> 00:06:00,703 So you know how to do this I think 127 00:06:01,471 --> 00:06:03,519 Any favour refresh I get my tea 128 00:06:03,775 --> 00:06:09,919 Ok don't care about the library loading it's just it's just that I knew that 129 00:06:10,175 --> 00:06:11,967 Is walking thank you 130 00:06:12,479 --> 00:06:14,527 So we have our tick what we what is 131 00:06:15,295 --> 00:06:16,575 That's our functions 132 00:06:16,831 --> 00:06:18,111 Don't get caught 133 00:06:18,623 --> 00:06:19,647 On each 134 00:06:19,903 --> 00:06:20,415 Frame 135 00:06:20,927 --> 00:06:23,231 And we're going to use the requestanimationframe 136 00:06:23,999 --> 00:06:25,791 It's very simple you just 137 00:06:26,047 --> 00:06:29,119 Window request animation frame 138 00:06:29,631 --> 00:06:33,983 And the only parameter is going to be the same function 139 00:06:34,239 --> 00:06:35,519 We just pass 140 00:06:35,775 --> 00:06:41,919 That sunshine we don't call that function we just passed the person I provide do this function and not cry 141 00:06:42,175 --> 00:06:44,223 I'm just pretending you this sunshine 142 00:06:44,479 --> 00:06:47,807 JavaScript with code it on the next train 143 00:06:48,063 --> 00:06:49,343 Turn on the next frame 144 00:06:49,855 --> 00:06:50,623 It was so 145 00:06:50,879 --> 00:06:54,719 Cody from the next train and on the next train it was a bit on the next time 146 00:06:54,975 --> 00:06:55,487 Can you get 147 00:06:55,743 --> 00:06:56,511 This 148 00:06:57,023 --> 00:06:58,047 As you can see 149 00:06:58,303 --> 00:07:00,095 I have everything running 150 00:07:00,351 --> 00:07:05,471 I have Mini takes in my console and I actually have something like 60 151 00:07:05,727 --> 00:07:07,007 Take precedence 152 00:07:07,263 --> 00:07:08,799 Because my computer 153 00:07:09,055 --> 00:07:09,823 My screen 154 00:07:10,079 --> 00:07:11,871 Is running at 60 155 00:07:12,127 --> 00:07:13,663 FPS right now 156 00:07:13,919 --> 00:07:17,759 If you have a home computer with hey friend 157 00:07:18,271 --> 00:07:19,551 Screen 158 00:07:20,063 --> 00:07:22,879 You can see more pics than me just watching 159 00:07:23,391 --> 00:07:26,463 We can watch it at the same time right now 160 00:07:26,719 --> 00:07:29,279 I'm just watch you will have more dick than me 161 00:07:29,535 --> 00:07:30,815 This number will be bigger 162 00:07:31,327 --> 00:07:32,351 Ok great 163 00:07:32,607 --> 00:07:33,631 So what's next 164 00:07:33,887 --> 00:07:38,751 Don't forget to always call sick at this once again because if you don't correct 165 00:07:40,543 --> 00:07:43,615 Yes you never stop 166 00:07:44,639 --> 00:07:48,991 I think it's happening so don't forget to 167 00:07:49,503 --> 00:07:50,015 Once 168 00:07:51,295 --> 00:07:51,807 Ok 169 00:07:55,135 --> 00:07:55,647 Yeah 170 00:07:56,415 --> 00:08:01,791 We have nothing animated it's time to do what we said which is moved your bra 171 00:08:02,047 --> 00:08:02,815 Slightly 172 00:08:05,375 --> 00:08:05,887 Dick 173 00:08:06,143 --> 00:08:07,679 And do a New Rhondda 174 00:08:07,935 --> 00:08:09,471 We are going to take 175 00:08:09,983 --> 00:08:11,519 The Randolph path witches 176 00:08:11,775 --> 00:08:12,287 This one 177 00:08:12,543 --> 00:08:16,127 Don't touch don't touch the set size just take the round up 178 00:08:17,151 --> 00:08:18,687 I'm going to put it down 179 00:08:19,711 --> 00:08:20,223 Brenda 180 00:08:20,735 --> 00:08:23,039 I'm going to add some more comments 181 00:08:24,063 --> 00:08:26,879 Just for the flat friend I don't need my console log 182 00:08:28,159 --> 00:08:29,951 I'm going to quit update 183 00:08:30,207 --> 00:08:30,975 Objects 184 00:08:31,487 --> 00:08:32,767 I'm here 185 00:08:33,023 --> 00:08:35,583 We are going to update our children so what we can do 186 00:08:35,839 --> 00:08:38,399 You already know how to transform the queue 187 00:08:39,679 --> 00:08:41,215 Ok and rotation 188 00:08:41,983 --> 00:08:42,751 Encode online 189 00:08:43,007 --> 00:08:45,055 Let's keep things in girl and you 190 00:08:45,311 --> 00:08:46,847 I'm not sure of Cortana 191 00:08:47,359 --> 00:08:50,175 When I can do is make that position 192 00:08:50,687 --> 00:08:51,199 That 193 00:08:52,223 --> 00:08:52,991 X 194 00:08:53,759 --> 00:08:58,367 Plus equal in a small value because we want to have time to see if it goes 195 00:08:58,879 --> 00:09:01,439 And as you can see my cube is moving 196 00:09:01,695 --> 00:09:03,487 And now we get the feeling 197 00:09:03,743 --> 00:09:04,255 Depth 198 00:09:04,511 --> 00:09:09,375 We have the feeling of perfect if we can feel that we are free and vitamins which is 199 00:09:09,887 --> 00:09:10,399 Very good 200 00:09:10,911 --> 00:09:17,055 OK Google you have your first in the mission congratulation at the start of a great Project 201 00:09:17,311 --> 00:09:18,079 Start somewhere 202 00:09:18,847 --> 00:09:20,895 Anyway we can do order and if you put 203 00:09:21,151 --> 00:09:22,943 - something 204 00:09:23,455 --> 00:09:24,735 Goes in the other way 205 00:09:24,991 --> 00:09:26,527 You can combine them 206 00:09:26,783 --> 00:09:28,575 I can put like why 207 00:09:28,831 --> 00:09:30,367 Positive 208 00:09:32,927 --> 00:09:37,023 If you want you can play with the rotation instead of the position 209 00:09:38,047 --> 00:09:40,863 It's going to be the same 0.01 210 00:09:41,631 --> 00:09:42,655 Mistakes 211 00:09:43,679 --> 00:09:45,215 Can you get something like this 212 00:09:45,471 --> 00:09:45,983 Cool 213 00:09:46,495 --> 00:09:49,311 Now you can enjoy the death the best team 214 00:09:50,847 --> 00:09:51,615 Which is fine 215 00:09:52,383 --> 00:09:52,895 Ok 216 00:09:55,455 --> 00:09:57,247 Yeah unfortunately 217 00:09:57,759 --> 00:10:00,460 The higher the frame rate the faster the rotation 218 00:10:00,461 --> 00:10:02,760 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 219 00:10:02,761 --> 00:10:06,975 Some of you might have a kid that rotate faster than 9 if you have a high frame rate 220 00:10:07,231 --> 00:10:09,279 The gimbal rotate faster because you have 221 00:10:09,535 --> 00:10:10,047 More 222 00:10:10,303 --> 00:10:13,119 Call of The Tick function in 1 seconds 223 00:10:13,375 --> 00:10:14,911 Brits try to fix this 224 00:10:15,167 --> 00:10:17,471 The many ways of fixing that 225 00:10:17,983 --> 00:10:19,263 What you need to do is adapt 226 00:10:19,519 --> 00:10:20,543 What is a frame rate 227 00:10:21,823 --> 00:10:22,335 What's 228 00:10:22,591 --> 00:10:25,151 We are going to use is the time 229 00:10:25,407 --> 00:10:26,943 That has been spent 230 00:10:27,455 --> 00:10:29,503 We just need the time that you 231 00:10:29,759 --> 00:10:35,903 No it's you can watch it's something and tense again and then after that 232 00:10:36,159 --> 00:10:36,671 11 233 00:10:36,927 --> 00:10:37,439 12 234 00:10:37,695 --> 00:10:39,487 13-14 etc 235 00:10:39,743 --> 00:10:42,047 We're going to use an information like this 236 00:10:42,559 --> 00:10:47,935 Because it's the same for everyone regardless of computer you're using 237 00:10:48,959 --> 00:10:52,031 We can use it to have the same animation that's yeah 238 00:10:52,543 --> 00:10:55,359 In Javascript how do we get the time 239 00:10:55,615 --> 00:10:59,711 Right now it's not about 3 GS we are going to use Nazi JavaScript 240 00:11:00,479 --> 00:11:01,503 What we can do 241 00:11:02,015 --> 00:11:02,527 Explain 242 00:11:02,783 --> 00:11:03,807 Time here 243 00:11:04,063 --> 00:11:10,207 You can create a consistent viable and going to time because I want to retrieve the time 244 00:11:10,463 --> 00:11:12,255 What you can do is use a date 245 00:11:13,023 --> 00:11:15,071 Objects and use dates 246 00:11:15,327 --> 00:11:16,095 Sorry now 247 00:11:17,631 --> 00:11:18,143 Like this 248 00:11:19,423 --> 00:11:20,191 I forgot 249 00:11:20,703 --> 00:11:21,471 Luggage 250 00:11:27,615 --> 00:11:28,127 Ladders 251 00:11:28,895 --> 00:11:29,663 Look at this 252 00:11:30,175 --> 00:11:31,455 It's a huge number 253 00:11:31,967 --> 00:11:32,735 Unfortunately 254 00:11:32,991 --> 00:11:34,271 Outlook anti-spam 255 00:11:36,575 --> 00:11:37,087 9 256 00:11:37,599 --> 00:11:38,111 10 257 00:11:38,623 --> 00:11:39,391 Haven 258 00:11:39,903 --> 00:11:43,231 We have something that we can use right now 259 00:11:43,487 --> 00:11:44,511 Are the siblings 260 00:11:44,767 --> 00:11:50,655 What's the whole number is MS and it's what we call a timestamp 261 00:11:50,911 --> 00:11:57,055 It's the 10 cm is how much time has been spent since 1st January 262 00:11:57,311 --> 00:11:58,591 A 1970 263 00:11:59,103 --> 00:12:05,247 Which is something like a unique expression of something I did so 264 00:12:05,503 --> 00:12:07,295 Are we friends for for computers 265 00:12:07,551 --> 00:12:08,575 To get a day 266 00:12:08,831 --> 00:12:11,903 The time day at a time stamp at the end 267 00:12:12,159 --> 00:12:13,439 MK news that 268 00:12:13,951 --> 00:12:15,743 Why do we are going to do 269 00:12:15,999 --> 00:12:16,511 Is 270 00:12:16,767 --> 00:12:18,303 Compare the current time 271 00:12:18,815 --> 00:12:20,095 With the previous time 272 00:12:20,607 --> 00:12:24,191 I'm having to fetch to get the difference between those 273 00:12:24,447 --> 00:12:26,495 Which is going to be the Delta 274 00:12:26,751 --> 00:12:31,359 The difference between the truth and sun and the previous than timestamp 275 00:12:31,615 --> 00:12:32,127 Repeat 276 00:12:32,383 --> 00:12:32,895 Delta 277 00:12:33,663 --> 00:12:35,199 And we are going to use that Delta 278 00:12:35,711 --> 00:12:36,735 So how can we do that 279 00:12:37,247 --> 00:12:40,319 First we need to get a viable outside 280 00:12:41,855 --> 00:12:47,999 You need to be a let because the variable is going to change its valuable can be equal to 281 00:12:48,255 --> 00:12:50,303 Now this 282 00:12:51,839 --> 00:12:52,607 Then 283 00:12:52,863 --> 00:12:57,983 Inside our tea we're going to get the current 284 00:12:58,239 --> 00:12:58,751 Time 285 00:12:59,007 --> 00:13:02,335 So I cannot choose the time via bus I'm going to use 286 00:13:02,591 --> 00:13:03,359 Current 287 00:13:03,871 --> 00:13:04,383 Time 288 00:13:04,639 --> 00:13:07,455 Ok the sing and get the same thing 289 00:13:07,967 --> 00:13:08,735 Like this 290 00:13:08,991 --> 00:13:09,759 And now 291 00:13:10,015 --> 00:13:11,039 I have the current time 292 00:13:11,551 --> 00:13:15,135 I have the previous time I'm going to get the difference 293 00:13:15,391 --> 00:13:19,743 Between dose I'm going to cut it constant delta time 294 00:13:19,999 --> 00:13:20,767 Equal 295 00:13:21,279 --> 00:13:24,863 The current time in the key of The Tick boxes 296 00:13:27,167 --> 00:13:29,471 And we remove the previous time 297 00:13:29,727 --> 00:13:30,239 Latest 298 00:13:30,751 --> 00:13:33,055 But right now we forgot something 299 00:13:33,823 --> 00:13:39,967 Which is to update the time once we have we are done with the calculation of the delta time because we need to 300 00:13:40,223 --> 00:13:40,735 Save 301 00:13:40,991 --> 00:13:42,527 It for the next 302 00:13:43,039 --> 00:13:44,063 So we can just do 303 00:13:44,575 --> 00:13:45,087 Time 304 00:13:45,599 --> 00:13:46,111 Equal 305 00:13:46,879 --> 00:13:47,647 Current time 306 00:13:48,159 --> 00:13:49,183 I repeat again 307 00:13:49,439 --> 00:13:50,719 I get the current time 308 00:13:51,487 --> 00:13:55,583 I get the data by subtracting the time to the current time 309 00:13:55,839 --> 00:13:58,655 And I don't forget to update the time for the new 310 00:14:00,191 --> 00:14:03,263 If you test the data deltatime look at this 311 00:14:06,591 --> 00:14:08,127 Not talking anymore 312 00:14:09,663 --> 00:14:11,199 You get something like this 313 00:14:11,455 --> 00:14:12,735 Does number 314 00:14:13,247 --> 00:14:14,527 If you are on the 315 00:14:14,783 --> 00:14:18,623 Good computer with high frame rate you will have it smaller value 316 00:14:19,135 --> 00:14:19,647 Because 317 00:14:19,903 --> 00:14:23,743 The Delta between this time and the time of the previous day 318 00:14:24,767 --> 00:14:25,791 Short 319 00:14:26,559 --> 00:14:28,607 Because you're you're running fast 320 00:14:29,119 --> 00:14:30,143 Degrade 321 00:14:30,399 --> 00:14:31,679 What we can do now is 322 00:14:31,935 --> 00:14:33,727 Use that delta time 323 00:14:34,239 --> 00:14:35,775 Inside our animation 324 00:14:36,031 --> 00:14:37,823 We can simply multiply 325 00:14:38,079 --> 00:14:39,103 Dissemination 326 00:14:40,383 --> 00:14:41,919 Delta time like this 327 00:14:43,967 --> 00:14:45,247 And we get this riddle 328 00:14:45,503 --> 00:14:48,575 You can throw it down if you want it says you're open to 329 00:14:49,087 --> 00:14:50,879 Is Robin 002 330 00:14:51,135 --> 00:14:53,183 Can you get something like this if it was too far 331 00:14:54,975 --> 00:14:56,767 Ok great 01001 332 00:14:57,023 --> 00:14:57,791 Daddy's that 333 00:15:00,607 --> 00:15:02,655 Rotating at the same speed 334 00:15:02,911 --> 00:15:04,959 Regardless of the French 335 00:15:05,983 --> 00:15:12,127 And that's important you don't want your website to go too fast what I want to do outside to go too slow 336 00:15:12,639 --> 00:15:13,919 I need to go at the rear 337 00:15:14,943 --> 00:15:15,455 Obvious 338 00:15:17,503 --> 00:15:19,295 That's one of the Solutions 339 00:15:19,551 --> 00:15:20,575 Let's see what we can do 340 00:15:21,343 --> 00:15:23,135 Videos of Solutions 341 00:15:23,903 --> 00:15:25,439 Yeah we can use the clock 342 00:15:25,951 --> 00:15:26,463 The Crow 343 00:15:26,719 --> 00:15:30,559 Is a 15 solution inside 3GS 344 00:15:30,815 --> 00:15:31,327 That we do 345 00:15:31,583 --> 00:15:35,679 Some kind of the same thing we just so let's remove our time 346 00:15:35,935 --> 00:15:36,703 Let's stream 347 00:15:37,215 --> 00:15:38,495 This one too 348 00:15:39,007 --> 00:15:40,287 And it's removed this 349 00:15:41,055 --> 00:15:44,127 We are going first to be at the club it's it's ok 350 00:15:44,383 --> 00:15:45,919 We have to instantiated 351 00:15:46,431 --> 00:15:49,503 I'm going to do a smoke coming and I'm going to use guns 352 00:15:50,015 --> 00:15:53,343 Because that's a good one you 353 00:15:53,599 --> 00:15:54,367 And because it 354 00:15:54,623 --> 00:15:57,183 Yes we can do 3 355 00:16:01,791 --> 00:16:02,559 Bury cinema 356 00:16:03,071 --> 00:16:03,583 Right 357 00:16:04,607 --> 00:16:07,935 Even here we are just going to test the volume 358 00:16:08,191 --> 00:16:08,959 And weekend 359 00:16:09,471 --> 00:16:12,287 Simply call I'm going to collect elapsed 360 00:16:13,823 --> 00:16:14,335 Time 361 00:16:14,591 --> 00:16:15,871 Equal 362 00:16:16,127 --> 00:16:18,175 And I can use the functions the method 363 00:16:18,431 --> 00:16:19,199 Jet 364 00:16:19,455 --> 00:16:19,967 Elapsed 365 00:16:21,247 --> 00:16:24,319 I'm going to test it don't forget to remove the time pass 366 00:16:24,575 --> 00:16:25,087 Here 367 00:16:25,343 --> 00:16:27,391 I'm going to test the value in The Rock 368 00:16:27,647 --> 00:16:29,951 Doesn't work anymore I don't know why 369 00:16:30,975 --> 00:16:31,487 Like this 370 00:16:31,999 --> 00:16:33,023 Look at that number 371 00:16:34,303 --> 00:16:38,143 It's really don't like the time stamp we we use before 372 00:16:38,399 --> 00:16:42,495 But this time it's starting at the moment the clock get initialised 373 00:16:43,007 --> 00:16:45,055 Are the first time getting insulin 374 00:16:47,359 --> 00:16:49,151 It always starts at zero 375 00:16:49,407 --> 00:16:51,199 I refresh it started 0 376 00:16:51,455 --> 00:16:52,223 And it's not 377 00:16:52,479 --> 00:16:53,503 MS 378 00:16:53,759 --> 00:16:54,271 It's 379 00:16:54,527 --> 00:16:55,295 Figurines 380 00:16:55,551 --> 00:16:56,319 It says that 381 00:16:56,575 --> 00:16:57,599 That this 382 00:16:58,111 --> 00:16:59,135 Wireless use this 383 00:16:59,647 --> 00:17:03,487 What I can do is 2 x 1 per this 384 00:17:04,767 --> 00:17:07,071 Yeah just like this 385 00:17:09,887 --> 00:17:12,703 My cute up sorry yeah I did a classic mistake 386 00:17:13,215 --> 00:17:14,239 I'm not going to 387 00:17:14,495 --> 00:17:18,591 Add the Alexa rap song to the rotation I'm going to say that 388 00:17:18,847 --> 00:17:19,615 The rotation 389 00:17:19,871 --> 00:17:20,383 Equal 390 00:17:20,639 --> 00:17:21,407 The love sign 391 00:17:21,663 --> 00:17:22,431 Look at this 392 00:17:23,455 --> 00:17:24,991 Here is my cupid dating 393 00:17:25,247 --> 00:17:26,271 I'm using this 394 00:17:26,527 --> 00:17:27,295 Time volume 395 00:17:27,807 --> 00:17:30,623 How to start a Lloyds just as that has passed 396 00:17:30,879 --> 00:17:32,671 Since the Dick Van staff 397 00:17:33,183 --> 00:17:37,535 And I'm updating my rotation with that value and not incrementing 398 00:17:37,791 --> 00:17:38,559 I'm just taking 399 00:17:39,583 --> 00:17:40,863 And I put it in the rotation 400 00:17:41,631 --> 00:17:45,727 If you want to do I don't like 1 revolutions 401 00:17:46,239 --> 00:17:48,031 1 Revolution per second 402 00:17:48,287 --> 00:17:51,871 You have to multiply it by can you get 403 00:17:52,383 --> 00:17:54,431 Can you guess that the solution 404 00:17:54,687 --> 00:17:57,503 Maybe post the video try to get a solution I repaired 405 00:17:57,759 --> 00:17:59,039 Let's try to move it 406 00:17:59,295 --> 00:18:02,879 140 cold but does again it's going to be 407 00:18:03,391 --> 00:18:05,183 X 408 00:18:05,439 --> 00:18:06,463 Mathway 409 00:18:07,231 --> 00:18:09,023 X 2 410 00:18:09,791 --> 00:18:10,559 Ok this 411 00:18:12,351 --> 00:18:12,863 Yeah 412 00:18:13,119 --> 00:18:13,631 We are 413 00:18:13,887 --> 00:18:15,935 1 Revolution per second 414 00:18:16,959 --> 00:18:17,471 Ok cool 415 00:18:19,775 --> 00:18:25,919 Yeah you can play with other things when I can do is play with the mesh position and look at this if I 416 00:18:26,175 --> 00:18:26,687 Please like 417 00:18:26,943 --> 00:18:32,063 Position that's why and I use the elapsed time you see that the Cube with just go 418 00:18:33,599 --> 00:18:37,183 And if you never stop because my elapsed time is just incrementing 419 00:18:37,439 --> 00:18:40,767 And after a 10 seconds it's going to beat my cheese going to be 10 420 00:18:41,279 --> 00:18:41,791 Unit 421 00:18:44,095 --> 00:18:46,655 What is a use a map 422 00:18:46,911 --> 00:18:48,959 Singers in it look at this 423 00:18:51,263 --> 00:18:53,311 I've used the same value 424 00:18:53,823 --> 00:18:55,359 But inside a sinners 425 00:18:55,871 --> 00:18:57,663 Can you sing us by using mass 426 00:18:57,919 --> 00:18:58,431 Singers 427 00:18:58,687 --> 00:19:00,735 Where does experiencing right now 428 00:19:00,991 --> 00:19:02,783 As you can see my kids growing up 429 00:19:03,039 --> 00:19:03,807 And down 430 00:19:04,063 --> 00:19:10,207 Remember the exercises from school 431 00:19:10,463 --> 00:19:13,535 Is there something like 16 x 2 cameras actually Google to see that 432 00:19:13,791 --> 00:19:14,303 You get 433 00:19:15,583 --> 00:19:16,607 So the more 434 00:19:18,399 --> 00:19:20,447 And what are situation you get 435 00:19:20,959 --> 00:19:23,519 You can use also cross we be kind 436 00:19:23,775 --> 00:19:24,799 The opposite 437 00:19:25,055 --> 00:19:26,847 Starting at 1 438 00:19:27,103 --> 00:19:28,127 And drops 439 00:19:28,639 --> 00:19:29,919 And goes up again 440 00:19:30,687 --> 00:19:32,479 And when you use sin 441 00:19:32,991 --> 00:19:35,039 That's a b c 442 00:19:36,575 --> 00:19:37,855 It's starting at zero 443 00:19:38,111 --> 00:19:38,879 Goes up 444 00:19:40,415 --> 00:19:41,695 Back to 0 445 00:19:41,951 --> 00:19:43,231 Dampak 20 446 00:19:43,743 --> 00:19:46,303 What we can do here just to have some fun 447 00:19:47,071 --> 00:19:50,143 Is use a Sinnis 448 00:19:50,399 --> 00:19:52,191 On the way position 449 00:19:52,447 --> 00:19:53,983 Any news on next 450 00:19:54,239 --> 00:19:56,031 On the cusp position 451 00:19:56,287 --> 00:19:59,103 And we are going to use the same value on both 452 00:19:59,359 --> 00:20:00,127 Look at this 453 00:20:01,919 --> 00:20:03,199 We have our queue 454 00:20:03,455 --> 00:20:04,991 Doing circles 455 00:20:05,503 --> 00:20:11,647 We are just having fun right now that there is no purpose of doing this I just want to show you that some 456 00:20:11,903 --> 00:20:12,671 Simple mathematics 457 00:20:12,927 --> 00:20:13,695 You can get 458 00:20:13,951 --> 00:20:15,487 Call any missions in can get 459 00:20:15,743 --> 00:20:17,023 Almost complex 460 00:20:17,535 --> 00:20:18,303 Animation 461 00:20:18,559 --> 00:20:21,375 Because how can you rotate a cube on a circle 462 00:20:21,631 --> 00:20:23,935 Well you can just use a value that you inform 463 00:20:24,447 --> 00:20:28,031 Which is the last sign which is Which gets incremented naturally 464 00:20:28,287 --> 00:20:29,567 Does it get it from the clock 465 00:20:30,079 --> 00:20:30,591 Enya 466 00:20:30,847 --> 00:20:32,639 Mass in maths 467 00:20:32,895 --> 00:20:34,431 For two different axes 468 00:20:34,687 --> 00:20:35,455 Can you get 469 00:20:35,967 --> 00:20:37,759 This result this animation 470 00:20:38,271 --> 00:20:39,039 Alright cool 471 00:20:39,551 --> 00:20:42,111 Beginners so obviously animated camera 472 00:20:42,367 --> 00:20:44,671 Let's do it just for the fun 473 00:20:44,927 --> 00:20:45,951 I'm going to animate 474 00:20:46,207 --> 00:20:46,975 The camera 475 00:20:47,743 --> 00:20:48,255 Position 476 00:20:48,767 --> 00:20:49,535 Like this 477 00:20:50,047 --> 00:20:55,679 Howard gets a very similar results but Ryan what's happening is that it's my camera moving 478 00:20:57,215 --> 00:20:58,751 It seems like it's the same reason 479 00:20:59,263 --> 00:21:05,407 Because the camera is nothing just like the cube was moving what we can do now 480 00:21:05,663 --> 00:21:06,943 Camera tool 481 00:21:07,199 --> 00:21:07,967 At The Cube 482 00:21:08,223 --> 00:21:14,111 Which is at the centre of the cube is not moving in the camera is moving around now so we can do camera 483 00:21:14,367 --> 00:21:14,879 Luke 484 00:21:15,391 --> 00:21:16,672 At remember this 485 00:21:19,744 --> 00:21:23,072 Camera look at and you can simply specify 486 00:21:23,328 --> 00:21:24,096 The mesh 487 00:21:24,352 --> 00:21:25,120 Position 488 00:21:25,632 --> 00:21:26,656 Look at this 489 00:21:28,448 --> 00:21:29,728 Yeah we get something 490 00:21:29,984 --> 00:21:31,520 The camera is doing this 491 00:21:31,776 --> 00:21:34,336 It's always looking at my queue 492 00:21:34,848 --> 00:21:35,872 Tube radio 493 00:21:36,640 --> 00:21:37,408 Alright 494 00:21:38,432 --> 00:21:39,456 Add stop with that 495 00:21:40,480 --> 00:21:46,624 You have another method available if you watch the documentation and can see that there is no 496 00:21:46,880 --> 00:21:47,904 Get 497 00:21:48,160 --> 00:21:48,672 Debt 498 00:21:50,208 --> 00:21:51,488 Do not use 499 00:21:51,744 --> 00:21:52,512 Get Delta 500 00:21:52,768 --> 00:21:53,280 You will 501 00:21:53,536 --> 00:21:57,632 Mess with the internal logic of the class baby 502 00:21:59,168 --> 00:22:01,728 In another project won't work 503 00:22:02,240 --> 00:22:08,384 It's because the get better is doing stuff with the cat and Epstein and you can get released 504 00:22:08,640 --> 00:22:10,688 And values that makes no sense 505 00:22:10,944 --> 00:22:15,040 I just don't use get better you will have trouble trust me 506 00:22:15,552 --> 00:22:19,136 1st Class is being evicted but for now 507 00:22:21,696 --> 00:22:23,488 Ok now let's use a library 508 00:22:23,744 --> 00:22:25,280 Why using a library 509 00:22:25,536 --> 00:22:30,144 Well if you want to have more control over the ending mission like creatine complex 510 00:22:30,400 --> 00:22:30,912 Queens 511 00:22:31,168 --> 00:22:37,312 I have control on the the timing function the easing factory it's just a Transit 512 00:22:37,568 --> 00:22:38,592 Turn from A to B 513 00:22:38,848 --> 00:22:39,616 If you want to cry 514 00:22:39,872 --> 00:22:40,640 Timelines 515 00:22:40,896 --> 00:22:42,688 Diamonds composer of twin 516 00:22:42,944 --> 00:22:47,552 Delay delay that can vary depending on other factors will you better use a library 517 00:22:48,064 --> 00:22:50,880 It's not mandatory 518 00:22:51,392 --> 00:22:54,208 Sometime it's better so remain libraries around 519 00:22:54,976 --> 00:22:58,048 In the most one of the most famous one is 520 00:22:58,304 --> 00:23:01,376 Gsap greensock library 521 00:23:01,632 --> 00:23:03,680 We're going to use this one which is pretty 522 00:23:04,960 --> 00:23:07,264 How do we add green cert 523 00:23:07,520 --> 00:23:10,336 Gsap to our differences 524 00:23:10,592 --> 00:23:13,664 Because I'm not going to use like 525 00:23:14,176 --> 00:23:20,064 Index and add a scraping here we're going to add a new different and sisters and nude models 526 00:23:20,320 --> 00:23:20,832 Radio 527 00:23:21,344 --> 00:23:25,440 To do that first you have to open the terminal obviously you have 528 00:23:25,696 --> 00:23:27,232 Your server running 529 00:23:28,256 --> 00:23:30,816 Two Solutions you can create a new 530 00:23:31,072 --> 00:23:32,864 Tell me now by clicking here 531 00:23:33,120 --> 00:23:37,216 Are you can open your terminal your computer terminal OS terminal 532 00:23:38,240 --> 00:23:42,848 Are you what you can do is close the Severn by pressing ctrl c 533 00:23:43,872 --> 00:23:48,992 Right now the server is not working anymore so if I try to update the page up to see I have nothing 534 00:23:49,504 --> 00:23:51,040 And then you will write 535 00:23:51,296 --> 00:23:52,064 Npm 536 00:23:52,320 --> 00:23:53,856 Install you know this one 537 00:23:54,368 --> 00:23:57,440 But we are going to add gsap 538 00:23:57,696 --> 00:24:03,072 Don't press enter yet if you did don't worry that you can just write that the next coming 539 00:24:05,120 --> 00:24:07,680 Doing this will add gsap 540 00:24:07,936 --> 00:24:09,216 To the normal juice 541 00:24:09,472 --> 00:24:10,496 But what we need 542 00:24:11,008 --> 00:24:13,056 Ways to specify a version 543 00:24:13,824 --> 00:24:16,896 And to do that I'm going to add at 544 00:24:17,408 --> 00:24:18,944 3.5 lb 545 00:24:19,200 --> 00:24:19,712 1 546 00:24:20,480 --> 00:24:26,624 Why do you need to specify a version if you don't do that it's going to be the latest version which is 547 00:24:26,880 --> 00:24:28,160 Time for most of the project 548 00:24:28,416 --> 00:24:32,000 I need you to do that to make sure that we have the same version 549 00:24:32,512 --> 00:24:35,840 While I'm recording it's the 351 550 00:24:36,608 --> 00:24:42,752 And if you fetch a new version like for something like this you might have errors because 551 00:24:43,008 --> 00:24:44,032 Not going to single 552 00:24:44,288 --> 00:24:46,080 Right so for your personal Project 553 00:24:46,592 --> 00:24:47,104 Just run 554 00:24:47,616 --> 00:24:48,640 Gsap 555 00:24:48,896 --> 00:24:54,016 But for this lesson you have to add 351 so we get the same version 556 00:24:54,528 --> 00:24:56,320 And then do not present 557 00:24:56,576 --> 00:24:58,112 You have to add 558 00:24:58,368 --> 00:25:00,160 Dash dash 559 00:25:00,672 --> 00:25:02,464 Be careful there are spaces around 560 00:25:03,232 --> 00:25:04,768 Why do we add 561 00:25:05,024 --> 00:25:06,304 Dash dash VR 562 00:25:06,816 --> 00:25:09,376 Adding dash dash dash 563 00:25:09,632 --> 00:25:11,424 Will add the dependencies 564 00:25:11,680 --> 00:25:13,728 The dependency to the package 565 00:25:13,984 --> 00:25:15,264 Jesus on fire 566 00:25:16,800 --> 00:25:19,360 Why do we need to do that when it's because 567 00:25:19,616 --> 00:25:22,432 Another developer wants to work on that Project 568 00:25:22,688 --> 00:25:24,480 You fetch the project 569 00:25:24,992 --> 00:25:26,784 Run npm install 570 00:25:27,040 --> 00:25:30,880 Any insta the Greenside library because the Greenside library 571 00:25:31,136 --> 00:25:34,464 We be inside that package.js season 5 572 00:25:34,720 --> 00:25:37,280 Battle this is how we use it dependencies 573 00:25:37,536 --> 00:25:39,328 And save those differences 574 00:25:39,840 --> 00:25:44,704 You can run it so npm install dash dash save gsap 575 00:25:44,960 --> 00:25:46,240 351 576 00:25:46,496 --> 00:25:47,776 Just press enter 577 00:25:48,032 --> 00:25:50,080 Which shoes against may be few minutes 578 00:25:50,848 --> 00:25:52,640 Depending on your bandwidth 579 00:25:53,152 --> 00:25:55,200 N you should have access to it 580 00:25:55,456 --> 00:25:58,016 Don't forget to relaunch the server 581 00:25:58,272 --> 00:25:59,808 Npm run 582 00:26:02,880 --> 00:26:09,024 My server is running I can actually close this one and use the one already open it that's the one 583 00:26:09,280 --> 00:26:10,304 I can close 584 00:26:10,560 --> 00:26:11,328 The terminal 585 00:26:11,840 --> 00:26:13,120 Nothing change 586 00:26:13,376 --> 00:26:18,752 But now I have access to the green stock library from my script 587 00:26:19,264 --> 00:26:20,032 Do that 588 00:26:20,288 --> 00:26:21,312 Simply Red 589 00:26:21,568 --> 00:26:22,592 Import 590 00:26:23,360 --> 00:26:24,896 Gsat 591 00:26:25,664 --> 00:26:26,176 From 592 00:26:27,456 --> 00:26:28,992 Gsat 593 00:26:29,248 --> 00:26:31,040 Practise in UK login 594 00:26:31,296 --> 00:26:33,600 Just to see if there is something inside 595 00:26:40,768 --> 00:26:42,304 Yes I have something 596 00:26:43,072 --> 00:26:43,840 Which is first 597 00:26:44,096 --> 00:26:45,376 This is a great of library 598 00:26:45,632 --> 00:26:49,216 So as you can see it's not exactly the same way of importing and 599 00:26:49,472 --> 00:26:53,056 You can actually import very specific part of greensill 600 00:26:53,312 --> 00:26:57,664 But this is not a lesson about winsock we are going to use it the most simplest way 601 00:26:58,944 --> 00:27:05,088 Let's use green socks this is the Bible you're going to use to create animation like timeline 602 00:27:05,344 --> 00:27:06,368 Green stuff like 603 00:27:07,648 --> 00:27:08,928 End to start with 604 00:27:09,184 --> 00:27:10,464 Very simple 605 00:27:10,720 --> 00:27:13,280 We are going to do this morning Mission by doing 606 00:27:13,536 --> 00:27:14,816 Gsap 607 00:27:15,840 --> 00:27:18,400 We're going to call the method 608 00:27:19,168 --> 00:27:19,936 Indus 609 00:27:20,192 --> 00:27:25,568 Two methods to provide two arguments you can do more but we are going to provide us to arguments 610 00:27:26,592 --> 00:27:32,736 Is what exactly are animating now please it's our mesh but not 611 00:27:32,992 --> 00:27:36,832 It's going to be a 1 mesh position going to do something like that 612 00:27:37,088 --> 00:27:41,952 Just a small emission like going to go to the right direction 613 00:27:42,720 --> 00:27:44,512 Animating the mesh 614 00:27:44,768 --> 00:27:46,560 Animating the mesh 615 00:27:46,816 --> 00:27:47,584 Position 616 00:27:48,864 --> 00:27:51,168 Going to be mesh 617 00:27:51,424 --> 00:27:52,192 Position 618 00:27:52,704 --> 00:27:55,264 And then you have to send an object 619 00:27:56,800 --> 00:28:00,384 And in that object you have to specify the destination 620 00:28:00,896 --> 00:28:06,272 Of the different properties well going to simply animated Xbox with specified x 621 00:28:08,320 --> 00:28:09,088 Like this 622 00:28:09,344 --> 00:28:12,160 Obviously you're also have to provide 623 00:28:12,416 --> 00:28:13,952 Duration for the animation 624 00:28:14,464 --> 00:28:15,744 Going to be duration 625 00:28:16,000 --> 00:28:16,768 I'm going to you 626 00:28:17,024 --> 00:28:17,536 1 627 00:28:17,792 --> 00:28:21,120 And you can also provide a delay meaning it would wait 628 00:28:21,632 --> 00:28:25,472 Xx against before starting so I'm going to have the delay 629 00:28:25,728 --> 00:28:26,240 Off 630 00:28:26,496 --> 00:28:27,008 1 631 00:28:27,520 --> 00:28:31,104 So we can have time to see the Cuba starting the enemy 632 00:28:32,128 --> 00:28:33,408 Ok I think you can say 633 00:28:34,944 --> 00:28:35,712 Look at this 634 00:28:36,480 --> 00:28:36,992 1 635 00:28:37,760 --> 00:28:38,528 Play swing 636 00:28:38,784 --> 00:28:40,576 If you want to do it you can 637 00:28:40,832 --> 00:28:41,600 Put it back 638 00:28:41,856 --> 00:28:43,904 Can you add a delay of 2n 639 00:28:44,160 --> 00:28:45,440 X0 640 00:28:49,280 --> 00:28:50,816 Are you coming back 641 00:28:51,328 --> 00:28:51,840 Great 642 00:28:52,864 --> 00:28:54,400 We're not going to go further 643 00:28:54,656 --> 00:29:00,800 Even if I really want to tell you more about animation with princess we have to keep things simple because we're going to 644 00:29:01,056 --> 00:29:04,128 Better animation in the next lessons 645 00:29:04,640 --> 00:29:06,688 Just keep one thing in mine is that 646 00:29:07,200 --> 00:29:09,248 Green sock as it's own 647 00:29:09,504 --> 00:29:15,648 Internally the library is doing requestanimationframe on its own so you don't have to 648 00:29:16,160 --> 00:29:17,952 Grinshill to updates 649 00:29:18,464 --> 00:29:19,488 But 650 00:29:19,744 --> 00:29:23,584 You still need to render the results by yourself 651 00:29:24,096 --> 00:29:25,888 All you have in our tea 652 00:29:26,144 --> 00:29:29,216 Is random random random 653 00:29:30,752 --> 00:29:31,520 Nice 654 00:29:33,312 --> 00:29:34,848 Wilson mini Solutions 655 00:29:35,360 --> 00:29:36,384 Which one should we say 656 00:29:36,640 --> 00:29:37,408 Well it's 657 00:29:37,664 --> 00:29:38,944 There is no right answer 658 00:29:39,200 --> 00:29:40,992 It really depends on the project 659 00:29:41,248 --> 00:29:46,112 And you and the libraries you know on the the features on performance 660 00:29:46,368 --> 00:29:50,464 Under the weight because when you load libraries 661 00:29:50,720 --> 00:29:52,512 Project get heavier 662 00:29:52,768 --> 00:29:57,120 So you have to to read decide analyse and choose the right social 663 00:29:57,376 --> 00:30:03,520 Many times you just need to do like a penis or sinuous and you will get the perfect result 664 00:30:03,776 --> 00:30:09,920 But something like if you want to do it on your like a swear that doing like a very strange movement like this 665 00:30:10,176 --> 00:30:12,992 You better used to win an animation libraries 666 00:30:13,248 --> 00:30:15,296 Greenstar 3 depends on the product 667 00:30:16,064 --> 00:30:21,184 OK cool so we are done for this reason and the next thing I'm going to play 668 00:30:21,440 --> 00:30:22,720 With the camera 669 00:30:23,232 --> 00:30:25,024 And have more control over 44170

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.